#417DE2#417DE2

#417DE2 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.1% C 0.166 H 260.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#417DE2
RGBrgb(65, 125, 226)
HSLhsl(218, 74%, 57%)
HSVhsv(218, 71%, 89%)
CMYKcmyk(71.2%, 44.7%, 0%, 11.4%)
CIE-LABlab(53.25, 14.13, -57.08)
CIE-LCHlch(53.25, 58.81, 283.90°)
OKLaboklab(60.15% -0.0283 -0.1635)
OKLCHoklch(60.15% 0.166 260.2)
XYZxyz(23.2361, 21.2795, 74.8195)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417DE2 #E2A641
analogous
#41CDE2 #417DE2 #5641E2
triadic
#417DE2 #E2417D #7DE241
tetradic
#417DE2 #E241CD #E2A641 #41E256
square
#417DE2 #E241CD #E2A641 #41E256
split-complementary
#417DE2 #E25641 #CDE241
monochromatic
#164592 #1E5DC7 #417DE2 #76A1EA #ABC6F2

Accessibility & contrast

On white

4.00
#417DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#417DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417DE2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417DE2#FFFFFF#000000##000000
##417DE21.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A87E6
Deuteranopia (green-blind)
#2978E0
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #417de2;
/* rgb */ color: rgb(65, 125, 226);
/* oklch */ color: oklch(60.1% 0.166 260.2);
Tailwind
colors: {
  custom: {
    50: '#88a2ec',
    500: '#417de2',
    950: '#000000',
  },
}
SCSS
$custom: #417de2;
$custom-light: #88a2ec;
$custom-dark: #000000;
JSON
{
  "hex": "#417de2",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 217.64,
    "s": 73.516,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60145,
    "c": 0.16591,
    "h": 260.2
  },
  "luminance": 0.21282
}

Semantic roles & 50–950 ramp

primary
#417DE2
secondary
#E0C89F
accent
#AB38F0
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #417DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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