#417EE2#417EE2

#417EE2 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.4% C 0.165 H 259.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#417EE2
RGBrgb(65, 126, 226)
HSLhsl(217, 74%, 57%)
HSVhsv(217, 71%, 89%)
CMYKcmyk(71.2%, 44.2%, 0%, 11.4%)
CIE-LABlab(53.53, 13.52, -56.64)
CIE-LCHlch(53.53, 58.23, 283.42°)
OKLaboklab(60.36% -0.0292 -0.1622)
OKLCHoklch(60.36% 0.165 259.8)
XYZxyz(23.3633, 21.5340, 74.8619)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417EE2 #E2A541
analogous
#41CFE2 #417EE2 #5541E2
triadic
#417EE2 #E2417E #7EE241
tetradic
#417EE2 #E241CF #E2A541 #41E255
square
#417EE2 #E241CF #E2A541 #41E255
split-complementary
#417EE2 #E25541 #CFE241
monochromatic
#164592 #1E5EC7 #417EE2 #76A2EA #ABC6F2

Accessibility & contrast

On white

3.96
#417EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#417EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417EE2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417EE2#FFFFFF#000000##000000
##417EE21.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C88E6
Deuteranopia (green-blind)
#2C79E0
Tritanopia (blue-blind)
#0095A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #417ee2;
/* rgb */ color: rgb(65, 126, 226);
/* oklch */ color: oklch(60.4% 0.165 259.8);
Tailwind
colors: {
  custom: {
    50: '#88a2ec',
    500: '#417ee2',
    950: '#000000',
  },
}
SCSS
$custom: #417ee2;
$custom-light: #88a2ec;
$custom-dark: #000000;
JSON
{
  "hex": "#417ee2",
  "rgb": {
    "r": 65,
    "g": 126,
    "b": 226
  },
  "hsl": {
    "h": 217.267,
    "s": 73.516,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60357,
    "c": 0.16477,
    "h": 259.8
  },
  "luminance": 0.21537
}

Semantic roles & 50–950 ramp

primary
#417EE2
secondary
#E0C79F
accent
#AA38F0
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #417EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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