#417BEA#417BEA

#417BEA is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.3% C 0.179 H 261.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#417BEA
RGBrgb(65, 123, 234)
HSLhsl(219, 80%, 59%)
HSVhsv(219, 72%, 92%)
CMYKcmyk(72.2%, 47.4%, 0%, 8.2%)
CIE-LABlab(53.20, 18.24, -61.65)
CIE-LCHlch(53.20, 64.30, 286.48°)
OKLaboklab(60.26% -0.0254 -0.1769)
OKLCHoklch(60.26% 0.179 261.8)
XYZxyz(24.1089, 21.2276, 80.6527)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417BEA #EAB041
analogous
#41D0EA #417BEA #5B41EA
triadic
#417BEA #EA417B #7BEA41
tetradic
#417BEA #EA41D0 #EAB041 #41EA5B
square
#417BEA #EA41D0 #EAB041 #41EA5B
split-complementary
#417BEA #EA5B41 #D0EA41
monochromatic
#12429F #1859D6 #417BEA #78A1F0 #AFC8F6

Accessibility & contrast

On white

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

On black

5.25
#417BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417BEA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417BEA#FFFFFF#000000##000000
##417BEA1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E87EE
Deuteranopia (green-blind)
#0878E8
Tritanopia (blue-blind)
#0095A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #417bea;
/* rgb */ color: rgb(65, 123, 234);
/* oklch */ color: oklch(60.3% 0.179 261.8);
Tailwind
colors: {
  custom: {
    50: '#8aa0f1',
    500: '#417bea',
    950: '#000000',
  },
}
SCSS
$custom: #417bea;
$custom-light: #8aa0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#417bea",
  "rgb": {
    "r": 65,
    "g": 123,
    "b": 234
  },
  "hsl": {
    "h": 219.408,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60259,
    "c": 0.17875,
    "h": 261.8
  },
  "luminance": 0.2123
}

Semantic roles & 50–950 ramp

primary
#417BEA
secondary
#E5CEA2
accent
#B331F7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E17
muted
#7E7E85

Preview Lab

Preview with #417BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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