#417FEB#417FEB

#417FEB is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.2% C 0.175 H 260.6°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#417FEB
RGBrgb(65, 127, 235)
HSLhsl(218, 81%, 59%)
HSVhsv(218, 72%, 92%)
CMYKcmyk(72.3%, 46%, 0%, 7.8%)
CIE-LABlab(54.34, 16.13, -60.37)
CIE-LCHlch(54.34, 62.49, 284.96°)
OKLaboklab(61.16% -0.0285 -0.1731)
OKLCHoklch(61.16% 0.175 260.6)
XYZxyz(24.7593, 22.2980, 81.5802)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417FEB #EBAD41
analogous
#41D4EB #417FEB #5841EB
triadic
#417FEB #EB417F #7FEB41
tetradic
#417FEB #EB41D4 #EBAD41 #41EB58
square
#417FEB #EB41D4 #EBAD41 #41EB58
split-complementary
#417FEB #EB5841 #D4EB41
monochromatic
#1145A1 #175DD8 #417FEB #78A4F1 #B0CAF7

Accessibility & contrast

On white

3.85
#417FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#417FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417FEB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417FEB#FFFFFF#000000##000000
##417FEB1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#468AEF
Deuteranopia (green-blind)
#1E7BE9
Tritanopia (blue-blind)
#0098AA
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #417feb;
/* rgb */ color: rgb(65, 127, 235);
/* oklch */ color: oklch(61.2% 0.175 260.6);
Tailwind
colors: {
  custom: {
    50: '#8aa3f2',
    500: '#417feb',
    950: '#000000',
  },
}
SCSS
$custom: #417feb;
$custom-light: #8aa3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#417feb",
  "rgb": {
    "r": 65,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 218.118,
    "s": 80.952,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61157,
    "c": 0.17545,
    "h": 260.6
  },
  "luminance": 0.22301
}

Semantic roles & 50–950 ramp

primary
#417FEB
secondary
#E5CDA2
accent
#AF30F7
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F17
muted
#7E7F85

Preview Lab

Preview with #417FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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