#417ED5#417ED5

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

Color values

HEX#417ED5
RGBrgb(65, 126, 213)
HSLhsl(215, 64%, 55%)
HSVhsv(215, 69%, 84%)
CMYKcmyk(69.5%, 40.8%, 0%, 16.5%)
CIE-LABlab(52.78, 8.87, -50.52)
CIE-LCHlch(52.78, 51.29, 279.96°)
OKLaboklab(59.54% -0.0317 -0.1442)
OKLCHoklch(59.54% 0.148 257.6)
XYZxyz(21.6467, 20.8473, 65.8210)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417ED5 #D59841
analogous
#41C8D5 #417ED5 #4E41D5
triadic
#417ED5 #D5417E #7ED541
tetradic
#417ED5 #D541C8 #D59841 #41D54E
square
#417ED5 #D541C8 #D59841 #41D54E
split-complementary
#417ED5 #D54E41 #C8D541
monochromatic
#1C457F #2760B2 #417ED5 #73A0E0 #A5C2EB

Accessibility & contrast

On white

4.06
#417ED5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#417ED5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417ED5
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417ED5#FFFFFF#000000##000000
##417ED51.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5585D8
Deuteranopia (green-blind)
#3D78D3
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #417ed5;
/* rgb */ color: rgb(65, 126, 213);
/* oklch */ color: oklch(59.5% 0.148 257.6);
Tailwind
colors: {
  custom: {
    50: '#86a2e2',
    500: '#417ed5',
    950: '#000000',
  },
}
SCSS
$custom: #417ed5;
$custom-light: #86a2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#417ed5",
  "rgb": {
    "r": 65,
    "g": 126,
    "b": 213
  },
  "hsl": {
    "h": 215.27,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59538,
    "c": 0.14761,
    "h": 257.6
  },
  "luminance": 0.2085
}

Semantic roles & 50–950 ramp

primary
#417ED5
secondary
#D8BE9A
accent
#A241E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #417ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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