#417DEB#417DEB

#417DEB is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.7% C 0.178 H 261.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#417DEB
RGBrgb(65, 125, 235)
HSLhsl(219, 81%, 59%)
HSVhsv(219, 72%, 92%)
CMYKcmyk(72.3%, 46.8%, 0%, 7.8%)
CIE-LABlab(53.80, 17.36, -61.24)
CIE-LCHlch(53.80, 63.66, 285.83°)
OKLaboklab(60.74% -0.0269 -0.1757)
OKLCHoklch(60.74% 0.178 261.3)
XYZxyz(24.5036, 21.7865, 81.4950)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417DEB #EBAF41
analogous
#41D2EB #417DEB #5A41EB
triadic
#417DEB #EB417D #7DEB41
tetradic
#417DEB #EB41D2 #EBAF41 #41EB5A
square
#417DEB #EB41D2 #EBAF41 #41EB5A
split-complementary
#417DEB #EB5A41 #D2EB41
monochromatic
#1144A1 #175BD8 #417DEB #78A3F1 #B0C9F7

Accessibility & contrast

On white

3.92
#417DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#417DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417DEB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417DEB#FFFFFF#000000##000000
##417DEB1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4289EF
Deuteranopia (green-blind)
#1379E9
Tritanopia (blue-blind)
#0097A9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #417deb;
/* rgb */ color: rgb(65, 125, 235);
/* oklch */ color: oklch(60.7% 0.178 261.3);
Tailwind
colors: {
  custom: {
    50: '#8aa2f2',
    500: '#417deb',
    950: '#000000',
  },
}
SCSS
$custom: #417deb;
$custom-light: #8aa2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#417deb",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 218.824,
    "s": 80.952,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60741,
    "c": 0.17775,
    "h": 261.3
  },
  "luminance": 0.21789
}

Semantic roles & 50–950 ramp

primary
#417DEB
secondary
#E5CEA2
accent
#B130F7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E17
muted
#7E7E85

Preview Lab

Preview with #417DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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