#417AD5#417AD5

#417AD5 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.7% C 0.152 H 259.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#417AD5
RGBrgb(65, 122, 213)
HSLhsl(217, 64%, 55%)
HSVhsv(217, 69%, 84%)
CMYKcmyk(69.5%, 42.7%, 0%, 16.5%)
CIE-LABlab(51.66, 11.32, -52.31)
CIE-LCHlch(51.66, 53.52, 282.22°)
OKLaboklab(58.67% -0.028 -0.1495)
OKLCHoklch(58.67% 0.152 259.4)
XYZxyz(21.1454, 19.8448, 65.6539)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417AD5 #D59C41
analogous
#41C4D5 #417AD5 #5241D5
triadic
#417AD5 #D5417A #7AD541
tetradic
#417AD5 #D541C4 #D59C41 #41D552
square
#417AD5 #D541C4 #D59C41 #41D552
split-complementary
#417AD5 #D55241 #C4D541
monochromatic
#1C427F #275DB2 #417AD5 #739DE0 #A5C0EB

Accessibility & contrast

On white

4.23
#417AD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#417AD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417AD5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417AD5#FFFFFF#000000##000000
##417AD51.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E83D9
Deuteranopia (green-blind)
#3575D3
Tritanopia (blue-blind)
#008F9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #417ad5;
/* rgb */ color: rgb(65, 122, 213);
/* oklch */ color: oklch(58.7% 0.152 259.4);
Tailwind
colors: {
  custom: {
    50: '#869fe2',
    500: '#417ad5',
    950: '#000000',
  },
}
SCSS
$custom: #417ad5;
$custom-light: #869fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#417ad5",
  "rgb": {
    "r": 65,
    "g": 122,
    "b": 213
  },
  "hsl": {
    "h": 216.892,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5867,
    "c": 0.15208,
    "h": 259.4
  },
  "luminance": 0.19847
}

Semantic roles & 50–950 ramp

primary
#417AD5
secondary
#D8C09A
accent
#A741E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #417AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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