#417DEA#417DEA

#417DEA is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.7% C 0.176 H 261.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#417DEA
RGBrgb(65, 125, 234)
HSLhsl(219, 80%, 59%)
HSVhsv(219, 72%, 92%)
CMYKcmyk(72.2%, 46.6%, 0%, 8.2%)
CIE-LABlab(53.74, 17.00, -60.78)
CIE-LCHlch(53.74, 63.12, 285.63°)
OKLaboklab(60.67% -0.027 -0.1743)
OKLCHoklch(60.67% 0.176 261.2)
XYZxyz(24.3595, 21.7289, 80.7362)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417DEA #EAAE41
analogous
#41D2EA #417DEA #5941EA
triadic
#417DEA #EA417D #7DEA41
tetradic
#417DEA #EA41D2 #EAAE41 #41EA59
square
#417DEA #EA41D2 #EAAE41 #41EA59
split-complementary
#417DEA #EA5941 #D2EA41
monochromatic
#12449F #185BD6 #417DEA #78A3F0 #AFC8F6

Accessibility & contrast

On white

3.93
#417DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#417DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417DEA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417DEA#FFFFFF#000000##000000
##417DEA1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4389EE
Deuteranopia (green-blind)
#1779E8
Tritanopia (blue-blind)
#0097A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #417dea;
/* rgb */ color: rgb(65, 125, 234);
/* oklch */ color: oklch(60.7% 0.176 261.2);
Tailwind
colors: {
  custom: {
    50: '#8aa2f1',
    500: '#417dea',
    950: '#000000',
  },
}
SCSS
$custom: #417dea;
$custom-light: #8aa2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#417dea",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 234
  },
  "hsl": {
    "h": 218.698,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60674,
    "c": 0.17643,
    "h": 261.2
  },
  "luminance": 0.21732
}

Semantic roles & 50–950 ramp

primary
#417DEA
secondary
#E5CDA2
accent
#B031F7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E17
muted
#7E7E85

Preview Lab

Preview with #417DEA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#417DEA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva