#417DD8#417DD8

#417DD8 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.5% C 0.153 H 258.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#417DD8
RGBrgb(65, 125, 216)
HSLhsl(216, 66%, 55%)
HSVhsv(216, 70%, 85%)
CMYKcmyk(69.9%, 42.1%, 0%, 15.3%)
CIE-LABlab(52.67, 10.55, -52.39)
CIE-LCHlch(52.67, 53.44, 281.39°)
OKLaboklab(59.51% -0.0302 -0.1497)
OKLCHoklch(59.51% 0.153 258.6)
XYZxyz(21.9038, 20.7466, 67.8026)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417DD8 #D89C41
analogous
#41C8D8 #417DD8 #5041D8
triadic
#417DD8 #D8417D #7DD841
tetradic
#417DD8 #D841C8 #D89C41 #41D850
square
#417DD8 #D841C8 #D89C41 #41D850
split-complementary
#417DD8 #D85041 #C8D841
monochromatic
#1B4584 #255FB6 #417DD8 #74A0E2 #A7C2ED

Accessibility & contrast

On white

4.08
#417DD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#417DD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417DD8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417DD8#FFFFFF#000000##000000
##417DD81.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5185DC
Deuteranopia (green-blind)
#3877D6
Tritanopia (blue-blind)
#0092A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #417dd8;
/* rgb */ color: rgb(65, 125, 216);
/* oklch */ color: oklch(59.5% 0.153 258.6);
Tailwind
colors: {
  custom: {
    50: '#87a2e4',
    500: '#417dd8',
    950: '#000000',
  },
}
SCSS
$custom: #417dd8;
$custom-light: #87a2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#417dd8",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 216
  },
  "hsl": {
    "h": 216.159,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59507,
    "c": 0.15268,
    "h": 258.6
  },
  "luminance": 0.20749
}

Semantic roles & 50–950 ramp

primary
#417DD8
secondary
#DAC19B
accent
#A53FE9
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0F16
muted
#7D7E84

Preview Lab

Preview with #417DD8

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

Preview Lab → · Contrast checker → · Palette generator →

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