#417FD8#417FD8

#417FD8 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 59.9% C 0.150 H 257.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#417FD8
RGBrgb(65, 127, 216)
HSLhsl(215, 66%, 55%)
HSVhsv(215, 70%, 85%)
CMYKcmyk(69.9%, 41.2%, 0%, 15.3%)
CIE-LABlab(53.23, 9.33, -51.50)
CIE-LCHlch(53.23, 52.33, 280.27°)
OKLaboklab(59.94% -0.032 -0.147)
OKLCHoklch(59.94% 0.15 257.7)
XYZxyz(22.1595, 21.2581, 67.8878)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417FD8 #D89A41
analogous
#41CBD8 #417FD8 #4E41D8
triadic
#417FD8 #D8417F #7FD841
tetradic
#417FD8 #D841CB #D89A41 #41D84E
square
#417FD8 #D841CB #D89A41 #41D84E
split-complementary
#417FD8 #D84E41 #CBD841
monochromatic
#1B4684 #2561B6 #417FD8 #74A1E2 #A7C3ED

Accessibility & contrast

On white

4.00
#417FD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#417FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417FD8
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417FD8#FFFFFF#000000##000000
##417FD81.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5587DB
Deuteranopia (green-blind)
#3C79D6
Tritanopia (blue-blind)
#0094A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #417fd8;
/* rgb */ color: rgb(65, 127, 216);
/* oklch */ color: oklch(59.9% 0.150 257.7);
Tailwind
colors: {
  custom: {
    50: '#87a3e4',
    500: '#417fd8',
    950: '#000000',
  },
}
SCSS
$custom: #417fd8;
$custom-light: #87a3e4;
$custom-dark: #000000;
JSON
{
  "hex": "#417fd8",
  "rgb": {
    "r": 65,
    "g": 127,
    "b": 216
  },
  "hsl": {
    "h": 215.364,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59941,
    "c": 0.15047,
    "h": 257.7
  },
  "luminance": 0.2126
}

Semantic roles & 50–950 ramp

primary
#417FD8
secondary
#DAC09B
accent
#A33FE9
background
#F8FAFE
surface
#F0F3FC
border
#CBCDD5
text
#0D0F16
muted
#7D7F84

Preview Lab

Preview with #417FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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