#417CD4#417CD4

#417CD4 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.0% C 0.148 H 258.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#417CD4
RGBrgb(65, 124, 212)
HSLhsl(216, 63%, 54%)
HSVhsv(216, 69%, 83%)
CMYKcmyk(69.3%, 41.5%, 0%, 16.9%)
CIE-LABlab(52.16, 9.74, -50.94)
CIE-LCHlch(52.16, 51.86, 280.82°)
OKLaboklab(59.04% -0.0301 -0.1454)
OKLCHoklch(59.04% 0.148 258.3)
XYZxyz(21.2670, 20.2904, 65.0702)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417CD4 #D49941
analogous
#41C6D4 #417CD4 #5041D4
triadic
#417CD4 #D4417C #7CD441
tetradic
#417CD4 #D441C6 #D49941 #41D450
square
#417CD4 #D441C6 #D49941 #41D450
split-complementary
#417CD4 #D45041 #C6D441
monochromatic
#1D447E #285EB0 #417CD4 #739EDF #A5C1EB

Accessibility & contrast

On white

4.15
#417CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#417CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417CD4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417CD4#FFFFFF#000000##000000
##417CD41.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5284D7
Deuteranopia (green-blind)
#3A76D2
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #417cd4;
/* rgb */ color: rgb(65, 124, 212);
/* oklch */ color: oklch(59.0% 0.148 258.3);
Tailwind
colors: {
  custom: {
    50: '#86a1e2',
    500: '#417cd4',
    950: '#000000',
  },
}
SCSS
$custom: #417cd4;
$custom-light: #86a1e2;
$custom-dark: #000000;
JSON
{
  "hex": "#417cd4",
  "rgb": {
    "r": 65,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 215.918,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5904,
    "c": 0.14849,
    "h": 258.3
  },
  "luminance": 0.20293
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #417CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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