#417AD4#417AD4

#417AD4 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.6% C 0.151 H 259.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#417AD4
RGBrgb(65, 122, 212)
HSLhsl(217, 63%, 54%)
HSVhsv(217, 69%, 83%)
CMYKcmyk(69.3%, 42.5%, 0%, 16.9%)
CIE-LABlab(51.60, 10.97, -51.83)
CIE-LCHlch(51.60, 52.98, 281.95°)
OKLaboklab(58.61% -0.0282 -0.1481)
OKLCHoklch(58.61% 0.151 259.2)
XYZxyz(21.0189, 19.7942, 64.9875)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417AD4 #D49B41
analogous
#41C3D4 #417AD4 #5241D4
triadic
#417AD4 #D4417A #7AD441
tetradic
#417AD4 #D441C3 #D49B41 #41D452
square
#417AD4 #D441C3 #D49B41 #41D452
split-complementary
#417AD4 #D45241 #C3D441
monochromatic
#1D427E #285DB0 #417AD4 #739DDF #A5C0EB

Accessibility & contrast

On white

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

On black

4.96
#417AD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417AD4
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417AD4#FFFFFF#000000##000000
##417AD41.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F82D7
Deuteranopia (green-blind)
#3675D2
Tritanopia (blue-blind)
#008F9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #417ad4;
/* rgb */ color: rgb(65, 122, 212);
/* oklch */ color: oklch(58.6% 0.151 259.2);
Tailwind
colors: {
  custom: {
    50: '#869fe2',
    500: '#417ad4',
    950: '#000000',
  },
}
SCSS
$custom: #417ad4;
$custom-light: #869fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#417ad4",
  "rgb": {
    "r": 65,
    "g": 122,
    "b": 212
  },
  "hsl": {
    "h": 216.735,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58607,
    "c": 0.15074,
    "h": 259.2
  },
  "luminance": 0.19796
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #417AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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