#417ED8#417ED8

#417ED8 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.7% C 0.152 H 258.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#417ED8
RGBrgb(65, 126, 216)
HSLhsl(216, 66%, 55%)
HSVhsv(216, 70%, 85%)
CMYKcmyk(69.9%, 41.7%, 0%, 15.3%)
CIE-LABlab(52.95, 9.94, -51.94)
CIE-LCHlch(52.95, 52.89, 280.83°)
OKLaboklab(59.72% -0.0311 -0.1483)
OKLCHoklch(59.72% 0.152 258.2)
XYZxyz(22.0310, 21.0011, 67.8450)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417ED8 #D89B41
analogous
#41C9D8 #417ED8 #5041D8
triadic
#417ED8 #D8417E #7ED841
tetradic
#417ED8 #D841C9 #D89B41 #41D850
square
#417ED8 #D841C9 #D89B41 #41D850
split-complementary
#417ED8 #D85041 #C9D841
monochromatic
#1B4584 #2560B6 #417ED8 #74A0E2 #A7C3ED

Accessibility & contrast

On white

4.04
#417ED8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#417ED8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417ED8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417ED8#FFFFFF#000000##000000
##417ED81.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5386DC
Deuteranopia (green-blind)
#3A78D6
Tritanopia (blue-blind)
#0093A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #417ed8;
/* rgb */ color: rgb(65, 126, 216);
/* oklch */ color: oklch(59.7% 0.152 258.2);
Tailwind
colors: {
  custom: {
    50: '#87a2e4',
    500: '#417ed8',
    950: '#000000',
  },
}
SCSS
$custom: #417ed8;
$custom-light: #87a2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#417ed8",
  "rgb": {
    "r": 65,
    "g": 126,
    "b": 216
  },
  "hsl": {
    "h": 215.762,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59723,
    "c": 0.15157,
    "h": 258.2
  },
  "luminance": 0.21003
}

Semantic roles & 50–950 ramp

primary
#417ED8
secondary
#DAC09B
accent
#A43FE9
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0F16
muted
#7D7E84

Preview Lab

Preview with #417ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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