#417BD8#417BD8

#417BD8 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.1% C 0.155 H 259.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#417BD8
RGBrgb(65, 123, 216)
HSLhsl(217, 66%, 55%)
HSVhsv(217, 70%, 85%)
CMYKcmyk(69.9%, 43.1%, 0%, 15.3%)
CIE-LABlab(52.11, 11.78, -53.28)
CIE-LCHlch(52.11, 54.57, 282.47°)
OKLaboklab(59.08% -0.0284 -0.1523)
OKLCHoklch(59.08% 0.155 259.5)
XYZxyz(21.6531, 20.2453, 67.7190)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417BD8 #D89E41
analogous
#41C6D8 #417BD8 #5341D8
triadic
#417BD8 #D8417B #7BD841
tetradic
#417BD8 #D841C6 #D89E41 #41D853
square
#417BD8 #D841C6 #D89E41 #41D853
split-complementary
#417BD8 #D85341 #C6D841
monochromatic
#1B4384 #255DB6 #417BD8 #749EE2 #A7C2ED

Accessibility & contrast

On white

4.16
#417BD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#417BD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417BD8
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417BD8#FFFFFF#000000##000000
##417BD81.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E84DC
Deuteranopia (green-blind)
#3376D6
Tritanopia (blue-blind)
#00919F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #417bd8;
/* rgb */ color: rgb(65, 123, 216);
/* oklch */ color: oklch(59.1% 0.155 259.5);
Tailwind
colors: {
  custom: {
    50: '#87a0e4',
    500: '#417bd8',
    950: '#000000',
  },
}
SCSS
$custom: #417bd8;
$custom-light: #87a0e4;
$custom-dark: #000000;
JSON
{
  "hex": "#417bd8",
  "rgb": {
    "r": 65,
    "g": 123,
    "b": 216
  },
  "hsl": {
    "h": 216.954,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59076,
    "c": 0.15494,
    "h": 259.5
  },
  "luminance": 0.20248
}

Semantic roles & 50–950 ramp

primary
#417BD8
secondary
#DAC29B
accent
#A83FE9
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #417BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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