#417ED4#417ED4

#417ED4 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.5% C 0.146 H 257.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#417ED4
RGBrgb(65, 126, 212)
HSLhsl(215, 63%, 54%)
HSVhsv(215, 69%, 83%)
CMYKcmyk(69.3%, 40.6%, 0%, 16.9%)
CIE-LABlab(52.73, 8.51, -50.04)
CIE-LCHlch(52.73, 50.76, 279.65°)
OKLaboklab(59.48% -0.0319 -0.1428)
OKLCHoklch(59.48% 0.146 257.4)
XYZxyz(21.5202, 20.7967, 65.1546)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417ED4 #D49741
analogous
#41C8D4 #417ED4 #4E41D4
triadic
#417ED4 #D4417E #7ED441
tetradic
#417ED4 #D441C8 #D49741 #41D44E
square
#417ED4 #D441C8 #D49741 #41D44E
split-complementary
#417ED4 #D44E41 #C8D441
monochromatic
#1D457E #2860B0 #417ED4 #73A0DF #A5C2EB

Accessibility & contrast

On white

4.07
#417ED4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#417ED4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417ED4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417ED4#FFFFFF#000000##000000
##417ED41.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5685D7
Deuteranopia (green-blind)
#3E78D2
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #417ed4;
/* rgb */ color: rgb(65, 126, 212);
/* oklch */ color: oklch(59.5% 0.146 257.4);
Tailwind
colors: {
  custom: {
    50: '#86a2e2',
    500: '#417ed4',
    950: '#000000',
  },
}
SCSS
$custom: #417ed4;
$custom-light: #86a2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#417ed4",
  "rgb": {
    "r": 65,
    "g": 126,
    "b": 212
  },
  "hsl": {
    "h": 215.102,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59477,
    "c": 0.14629,
    "h": 257.4
  },
  "luminance": 0.20799
}

Semantic roles & 50–950 ramp

primary
#417ED4
secondary
#D8BE99
accent
#A242E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #417ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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