Skip to content

#415fe2

a balanced, vivid blue · cool · closest name: Royal Blue

RGB
65, 95, 226
HSL
229°, 74%, 57%
CMYK
71, 58, 0, 11
Luminance
0.1480

At a glance

Every number on this page in one read: what #415fe2 is made of, how bright it looks, and which way it leans.

Hex
#415fe2
Hue
229°
blue
Saturation
74%
vivid
Lightness
57%
balanced
Brightness
89%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1480
WCAG relative
Temperature
Cool
90/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
5.30:1
Closest name
Royal Blue
ΔE2000 3.5
Where it sits
Hue229° of 360°
Saturation74%
Lightness57%
Temperature
Warm ← → Cool90% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#415fe2
RGBrgb(65, 95, 226)
HSLhsl(229, 74%, 57%)
CMYKcmyk(71%, 58%, 0%, 11%)
LABlab(45.4 32.9 -69.8)
LCHlch(45.4 77.2 295.2)
OKLCHoklch(0.541 0.202 268.8)
Decimal4284386
Display P3color(display-p3 0.255 0.373 0.886)

Copy-ready code

/* CSS */
color: #415fe2;
background-color: #415fe2;
/* Tailwind (arbitrary) */
class="text-[#415fe2] bg-[#415fe2]"
/* SCSS */
$brand: #415fe2;
/* SwiftUI */
Color(red: 0.255, green: 0.373, blue: 0.886)
/* Android */
Color.parseColor("#415fe2")
/* Flutter */
Color(0xFF415FE2)
/* Python / OpenCV (BGR) */
(226, 95, 65)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #415fe2 · 5.30:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.30:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.96:1
AA fail · AA large pass · AAA fail
Reading the other direction: #415fe2 as text scores 5.30:1 on white and 3.96:1 on black.

Accessibility — WCAG contrast

Aa
#415fe2 on white: 5.30:1
AA ✓ pass · AA-large · AAA
Aa
#415fe2 on black: 3.96:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0073E6
deuteranopia · #0064DF
tritanopia · #008097

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #415fe2 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F3F5FC
#E7EAF8
#C8D0F3
#9EADF0
#6D84E9
#415fe2
#2042D4
#1B37B1
#162C8E
#142367
#0C1640
Base = 500Lightest = 50 · #F3F5FCDarkest = 950 · #0C1640
:root {
  --brand-50: #F3F5FC;
  --brand-100: #E7EAF8;
  --brand-200: #C8D0F3;
  --brand-300: #9EADF0;
  --brand-400: #6D84E9;
  --brand-500: #415fe2;
  --brand-600: #2042D4;
  --brand-700: #1B37B1;
  --brand-800: #162C8E;
  --brand-900: #142367;
  --brand-950: #0C1640;
  --brand: #415fe2;
  --brand-ink: #ffffff;
}

Colors that work with #415fe2

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F4F5FA
Tinted page background
Border#C0C8ED
Hairlines and dividers
Muted text#4B5A9B
Captions on the surface
Accent#B57017
Second voice, not a rival
Dark variant#11226F
Hover, pressed, headers
Light variant#E9ECFC
Selected rows, tints
Dark surface#141724
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #415fe2

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#E2C441
Analogous left#41B0E2
Analogous right#7441E2
Split-complement 1#E27441
Split-complement 2#B0E241
Triadic 1#E2415F
Triadic 2#5FE241
Tetradic#E241B0

RGB percentages

Red25.5%
Green37.3%
Blue88.6%

CMYK percentages

Cyan71.2%
Magenta58.0%
Yellow0.0%
Key (black)11.4%

Color previews

#415fe2 text on a black background

contrast 3.96:1

Card sample

#415fe2 text on a white background

contrast 5.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #415fe2;
Background color
Panel with #415fe2 background
background-color: #415fe2;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #415fe2;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(65, 95, 226, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(65, 95, 226, 0.45);
Border & gradient
Gradient panel
border: 3px solid #415fe2;
background: linear-gradient(135deg, #415fe2, #8E41E2);

Monochromatic scale

Palettes built from #415fe2

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#415fe2 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#415fe2, answered

What color is #415fe2?

#415fe2 is a balanced vivid blue, closest to Royal Blue (ΔE2000 3.5). It sits at 229° on the hue wheel with 74% saturation and 57% lightness, which reads as cool.

What is the RGB value of #415fe2?

rgb(65, 95, 226) — 65 red, 95 green and 226 blue out of 255, or 25.5% / 37.3% / 88.6% by channel.

Is #415fe2 a light or a dark color?

It is a dark color. Relative luminance is 0.1480 and perceived brightness is 44%, so white text on it reaches 5.30:1.

Should I use black or white text on #415fe2?

White. It scores 5.30:1 against #415fe2, versus 3.96:1 for black — AA at any size.

What is the complementary color of #415fe2?

#E2C441 sits directly opposite on the wheel. Softer options are the split-complements #E27441 and #B0E241, which give the same contrast with far less vibration.

What colors go well with #415fe2?

For interface work: #F4F5FA as the surface, #C0C8ED for borders, #4B5A9B for secondary text, #B57017 as an accent and #11226F for hover and pressed states. For a palette, the analogous pair #41B0E2 and #7441E2 stays calm, while #E2C441 is the loudest partner.

What is #415fe2 in CMYK for printing?

cmyk(71%, 58%, 0%, 11%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #415fe2 warm or cool?

Cool — it scores 90 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5E41E2; nudged cooler, #3F77E4.

Work with #415fe2 in the Color Lab