#417BD4#417BD4

#417BD4 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 58.8% C 0.150 H 258.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#417BD4
RGBrgb(65, 123, 212)
HSLhsl(216, 63%, 54%)
HSVhsv(216, 69%, 83%)
CMYKcmyk(69.3%, 42%, 0%, 16.9%)
CIE-LABlab(51.88, 10.35, -51.39)
CIE-LCHlch(51.88, 52.42, 281.39°)
OKLaboklab(58.82% -0.0291 -0.1467)
OKLCHoklch(58.82% 0.15 258.8)
XYZxyz(21.1423, 20.0410, 65.0287)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417BD4 #D49A41
analogous
#41C4D4 #417BD4 #5141D4
triadic
#417BD4 #D4417B #7BD441
tetradic
#417BD4 #D441C4 #D49A41 #41D451
square
#417BD4 #D441C4 #D49A41 #41D451
split-complementary
#417BD4 #D45141 #C4D441
monochromatic
#1D437E #285EB0 #417BD4 #739EDF #A5C0EB

Accessibility & contrast

On white

4.19
#417BD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#417BD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417BD4
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417BD4#FFFFFF#000000##000000
##417BD41.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5183D7
Deuteranopia (green-blind)
#3875D2
Tritanopia (blue-blind)
#00909D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #417bd4;
/* rgb */ color: rgb(65, 123, 212);
/* oklch */ color: oklch(58.8% 0.150 258.8);
Tailwind
colors: {
  custom: {
    50: '#86a0e2',
    500: '#417bd4',
    950: '#000000',
  },
}
SCSS
$custom: #417bd4;
$custom-light: #86a0e2;
$custom-dark: #000000;
JSON
{
  "hex": "#417bd4",
  "rgb": {
    "r": 65,
    "g": 123,
    "b": 212
  },
  "hsl": {
    "h": 216.327,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58823,
    "c": 0.14962,
    "h": 258.8
  },
  "luminance": 0.20043
}

Semantic roles & 50–950 ramp

primary
#417BD4
secondary
#D8BF99
accent
#A542E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #417BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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