#417ED9#417ED9

#417ED9 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 59.8% C 0.153 H 258.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#417ED9
RGBrgb(65, 126, 217)
HSLhsl(216, 67%, 55%)
HSVhsv(216, 70%, 85%)
CMYKcmyk(70%, 41.9%, 0%, 14.9%)
CIE-LABlab(53.01, 10.30, -52.42)
CIE-LCHlch(53.01, 53.42, 281.11°)
OKLaboklab(59.79% -0.0309 -0.1497)
OKLCHoklch(59.79% 0.153 258.3)
XYZxyz(22.1607, 21.0529, 68.5279)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417ED9 #D99C41
analogous
#41CAD9 #417ED9 #5041D9
triadic
#417ED9 #D9417E #7ED941
tetradic
#417ED9 #D941CA #D99C41 #41D950
square
#417ED9 #D941CA #D99C41 #41D950
split-complementary
#417ED9 #D95041 #CAD941
monochromatic
#1B4585 #2560B8 #417ED9 #74A1E3 #A7C3ED

Accessibility & contrast

On white

4.03
#417ED9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#417ED9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417ED9
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417ED9#FFFFFF#000000##000000
##417ED91.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5386DD
Deuteranopia (green-blind)
#3978D7
Tritanopia (blue-blind)
#0093A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #417ed9;
/* rgb */ color: rgb(65, 126, 217);
/* oklch */ color: oklch(59.8% 0.153 258.3);
Tailwind
colors: {
  custom: {
    50: '#87a2e5',
    500: '#417ed9',
    950: '#000000',
  },
}
SCSS
$custom: #417ed9;
$custom-light: #87a2e5;
$custom-dark: #000000;
JSON
{
  "hex": "#417ed9",
  "rgb": {
    "r": 65,
    "g": 126,
    "b": 217
  },
  "hsl": {
    "h": 215.921,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59786,
    "c": 0.15289,
    "h": 258.3
  },
  "luminance": 0.21055
}

Semantic roles & 50–950 ramp

primary
#417ED9
secondary
#DBC19B
accent
#A53EEA
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0F16
muted
#7D7E84

Preview Lab

Preview with #417ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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