#417CE2#417CE2

#417CE2 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.9% C 0.167 H 260.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#417CE2
RGBrgb(65, 124, 226)
HSLhsl(218, 74%, 57%)
HSVhsv(218, 71%, 89%)
CMYKcmyk(71.2%, 45.1%, 0%, 11.4%)
CIE-LABlab(52.98, 14.75, -57.52)
CIE-LCHlch(52.98, 59.38, 284.38°)
OKLaboklab(59.93% -0.0275 -0.1648)
OKLCHoklch(59.93% 0.167 260.5)
XYZxyz(23.1102, 21.0276, 74.7775)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417CE2 #E2A741
analogous
#41CDE2 #417CE2 #5641E2
triadic
#417CE2 #E2417C #7CE241
tetradic
#417CE2 #E241CD #E2A741 #41E256
square
#417CE2 #E241CD #E2A741 #41E256
split-complementary
#417CE2 #E25641 #CDE241
monochromatic
#164492 #1E5CC7 #417CE2 #76A1EA #ABC5F2

Accessibility & contrast

On white

4.03
#417CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#417CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417CE2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417CE2#FFFFFF#000000##000000
##417CE21.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4886E6
Deuteranopia (green-blind)
#2678E0
Tritanopia (blue-blind)
#0094A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #417ce2;
/* rgb */ color: rgb(65, 124, 226);
/* oklch */ color: oklch(59.9% 0.167 260.5);
Tailwind
colors: {
  custom: {
    50: '#89a1ec',
    500: '#417ce2',
    950: '#000000',
  },
}
SCSS
$custom: #417ce2;
$custom-light: #89a1ec;
$custom-dark: #000000;
JSON
{
  "hex": "#417ce2",
  "rgb": {
    "r": 65,
    "g": 124,
    "b": 226
  },
  "hsl": {
    "h": 218.012,
    "s": 73.516,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59934,
    "c": 0.16705,
    "h": 260.5
  },
  "luminance": 0.2103
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #417CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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