#417ED6#417ED6

#417ED6 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.6% C 0.149 H 257.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#417ED6
RGBrgb(65, 126, 214)
HSLhsl(215, 65%, 55%)
HSVhsv(215, 70%, 84%)
CMYKcmyk(69.6%, 41.1%, 0%, 16.1%)
CIE-LABlab(52.84, 9.22, -50.99)
CIE-LCHlch(52.84, 51.82, 280.25°)
OKLaboklab(59.6% -0.0315 -0.1456)
OKLCHoklch(59.6% 0.149 257.8)
XYZxyz(21.7740, 20.8983, 66.4915)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417ED6 #D69941
analogous
#41C9D6 #417ED6 #4F41D6
triadic
#417ED6 #D6417E #7ED641
tetradic
#417ED6 #D641C9 #D69941 #41D64F
square
#417ED6 #D641C9 #D69941 #41D64F
split-complementary
#417ED6 #D64F41 #C9D641
monochromatic
#1C4581 #2760B3 #417ED6 #73A0E1 #A6C2EC

Accessibility & contrast

On white

4.05
#417ED6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#417ED6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417ED6
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417ED6#FFFFFF#000000##000000
##417ED61.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5586D9
Deuteranopia (green-blind)
#3C78D4
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #417ed6;
/* rgb */ color: rgb(65, 126, 214);
/* oklch */ color: oklch(59.6% 0.149 257.8);
Tailwind
colors: {
  custom: {
    50: '#86a2e3',
    500: '#417ed6',
    950: '#000000',
  },
}
SCSS
$custom: #417ed6;
$custom-light: #86a2e3;
$custom-dark: #000000;
JSON
{
  "hex": "#417ed6",
  "rgb": {
    "r": 65,
    "g": 126,
    "b": 214
  },
  "hsl": {
    "h": 215.436,
    "s": 64.502,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59599,
    "c": 0.14893,
    "h": 257.8
  },
  "luminance": 0.20901
}

Semantic roles & 50–950 ramp

primary
#417ED6
secondary
#D9BF9A
accent
#A340E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #417ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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