#417CD8#417CD8

#417CD8 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.3% C 0.154 H 259.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#417CD8
RGBrgb(65, 124, 216)
HSLhsl(217, 66%, 55%)
HSVhsv(217, 70%, 85%)
CMYKcmyk(69.9%, 42.6%, 0%, 15.3%)
CIE-LABlab(52.39, 11.16, -52.84)
CIE-LCHlch(52.39, 54.00, 281.93°)
OKLaboklab(59.29% -0.0293 -0.151)
OKLCHoklch(59.29% 0.154 259)
XYZxyz(21.7778, 20.4947, 67.7606)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417CD8 #D89D41
analogous
#41C8D8 #417CD8 #5141D8
triadic
#417CD8 #D8417C #7CD841
tetradic
#417CD8 #D841C8 #D89D41 #41D851
square
#417CD8 #D841C8 #D89D41 #41D851
split-complementary
#417CD8 #D85141 #C8D841
monochromatic
#1B4484 #255EB6 #417CD8 #749FE2 #A7C2ED

Accessibility & contrast

On white

4.12
#417CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#417CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417CD8
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417CD8#FFFFFF#000000##000000
##417CD81.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5085DC
Deuteranopia (green-blind)
#3677D6
Tritanopia (blue-blind)
#00919F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #417cd8;
/* rgb */ color: rgb(65, 124, 216);
/* oklch */ color: oklch(59.3% 0.154 259.0);
Tailwind
colors: {
  custom: {
    50: '#87a1e4',
    500: '#417cd8',
    950: '#000000',
  },
}
SCSS
$custom: #417cd8;
$custom-light: #87a1e4;
$custom-dark: #000000;
JSON
{
  "hex": "#417cd8",
  "rgb": {
    "r": 65,
    "g": 124,
    "b": 216
  },
  "hsl": {
    "h": 216.556,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59291,
    "c": 0.15381,
    "h": 259
  },
  "luminance": 0.20497
}

Semantic roles & 50–950 ramp

primary
#417CD8
secondary
#DAC19B
accent
#A63FE9
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #417CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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