#417FE2#417FE2

#417FE2 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.6% C 0.164 H 259.4°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#417FE2
RGBrgb(65, 127, 226)
HSLhsl(217, 74%, 57%)
HSVhsv(217, 71%, 89%)
CMYKcmyk(71.2%, 43.8%, 0%, 11.4%)
CIE-LABlab(53.80, 12.90, -56.20)
CIE-LCHlch(53.80, 57.66, 282.93°)
OKLaboklab(60.57% -0.0301 -0.1608)
OKLCHoklch(60.57% 0.164 259.4)
XYZxyz(23.4918, 21.7910, 74.9048)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417FE2 #E2A441
analogous
#41D0E2 #417FE2 #5341E2
triadic
#417FE2 #E2417F #7FE241
tetradic
#417FE2 #E241D0 #E2A441 #41E253
square
#417FE2 #E241D0 #E2A441 #41E253
split-complementary
#417FE2 #E25341 #D0E241
monochromatic
#164692 #1E5FC7 #417FE2 #76A3EA #ABC7F2

Accessibility & contrast

On white

3.92
#417FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#417FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417FE2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417FE2#FFFFFF#000000##000000
##417FE21.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E89E6
Deuteranopia (green-blind)
#2F7AE0
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #417fe2;
/* rgb */ color: rgb(65, 127, 226);
/* oklch */ color: oklch(60.6% 0.164 259.4);
Tailwind
colors: {
  custom: {
    50: '#88a3ec',
    500: '#417fe2',
    950: '#000000',
  },
}
SCSS
$custom: #417fe2;
$custom-light: #88a3ec;
$custom-dark: #000000;
JSON
{
  "hex": "#417fe2",
  "rgb": {
    "r": 65,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 216.894,
    "s": 73.516,
    "l": 57.059
  },
  "oklch": {
    "l": 0.6057,
    "c": 0.16363,
    "h": 259.4
  },
  "luminance": 0.21794
}

Semantic roles & 50–950 ramp

primary
#417FE2
secondary
#E0C79F
accent
#A938F0
background
#F9FAFE
surface
#F1F3FD
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #417FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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