#417BE2#417BE2

#417BE2 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.7% C 0.168 H 260.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#417BE2
RGBrgb(65, 123, 226)
HSLhsl(218, 74%, 57%)
HSVhsv(218, 71%, 89%)
CMYKcmyk(71.2%, 45.6%, 0%, 11.4%)
CIE-LABlab(52.71, 15.37, -57.96)
CIE-LCHlch(52.71, 59.97, 284.85°)
OKLaboklab(59.72% -0.0266 -0.1661)
OKLCHoklch(59.72% 0.168 260.9)
XYZxyz(22.9855, 20.7783, 74.7360)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417BE2 #E2A841
analogous
#41CCE2 #417BE2 #5841E2
triadic
#417BE2 #E2417B #7BE241
tetradic
#417BE2 #E241CC #E2A841 #41E258
square
#417BE2 #E241CC #E2A841 #41E258
split-complementary
#417BE2 #E25841 #CCE241
monochromatic
#164392 #1E5BC7 #417BE2 #76A0EA #ABC5F2

Accessibility & contrast

On white

4.07
#417BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#417BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417BE2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417BE2#FFFFFF#000000##000000
##417BE21.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4686E6
Deuteranopia (green-blind)
#2377E0
Tritanopia (blue-blind)
#0093A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #417be2;
/* rgb */ color: rgb(65, 123, 226);
/* oklch */ color: oklch(59.7% 0.168 260.9);
Tailwind
colors: {
  custom: {
    50: '#89a0ec',
    500: '#417be2',
    950: '#000000',
  },
}
SCSS
$custom: #417be2;
$custom-light: #89a0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#417be2",
  "rgb": {
    "r": 65,
    "g": 123,
    "b": 226
  },
  "hsl": {
    "h": 218.385,
    "s": 73.516,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59723,
    "c": 0.16821,
    "h": 260.9
  },
  "luminance": 0.20781
}

Semantic roles & 50–950 ramp

primary
#417BE2
secondary
#E0C99F
accent
#AE38F0
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #417BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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