#417FD6#417FD6

#417FD6 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 59.8% C 0.148 H 257.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#417FD6
RGBrgb(65, 127, 214)
HSLhsl(215, 65%, 55%)
HSVhsv(215, 70%, 84%)
CMYKcmyk(69.6%, 40.7%, 0%, 16.1%)
CIE-LABlab(53.12, 8.61, -50.55)
CIE-LCHlch(53.12, 51.27, 279.67°)
OKLaboklab(59.82% -0.0324 -0.1442)
OKLCHoklch(59.82% 0.148 257.3)
XYZxyz(21.9025, 21.1553, 66.5344)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417FD6 #D69841
analogous
#41C9D6 #417FD6 #4E41D6
triadic
#417FD6 #D6417F #7FD641
tetradic
#417FD6 #D641C9 #D69841 #41D64E
square
#417FD6 #D641C9 #D69841 #41D64E
split-complementary
#417FD6 #D64E41 #C9D641
monochromatic
#1C4681 #2761B3 #417FD6 #73A1E1 #A6C3EC

Accessibility & contrast

On white

4.01
#417FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#417FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417FD6
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417FD6#FFFFFF#000000##000000
##417FD61.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5686D9
Deuteranopia (green-blind)
#3E78D4
Tritanopia (blue-blind)
#0093A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #417fd6;
/* rgb */ color: rgb(65, 127, 214);
/* oklch */ color: oklch(59.8% 0.148 257.3);
Tailwind
colors: {
  custom: {
    50: '#86a3e3',
    500: '#417fd6',
    950: '#000000',
  },
}
SCSS
$custom: #417fd6;
$custom-light: #86a3e3;
$custom-dark: #000000;
JSON
{
  "hex": "#417fd6",
  "rgb": {
    "r": 65,
    "g": 127,
    "b": 214
  },
  "hsl": {
    "h": 215.034,
    "s": 64.502,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59818,
    "c": 0.14783,
    "h": 257.3
  },
  "luminance": 0.21158
}

Semantic roles & 50–950 ramp

primary
#417FD6
secondary
#D9BF9A
accent
#A240E7
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #417FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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