#417FE1#417FE1

#417FE1 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.5% C 0.162 H 259.3°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#417FE1
RGBrgb(65, 127, 225)
HSLhsl(217, 73%, 57%)
HSVhsv(217, 71%, 88%)
CMYKcmyk(71.1%, 43.6%, 0%, 11.8%)
CIE-LABlab(53.75, 12.54, -55.74)
CIE-LCHlch(53.75, 57.13, 282.68°)
OKLaboklab(60.51% -0.0303 -0.1595)
OKLCHoklch(60.51% 0.162 259.3)
XYZxyz(23.3550, 21.7363, 74.1842)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417FE1 #E1A341
analogous
#41CFE1 #417FE1 #5341E1
triadic
#417FE1 #E1417F #7FE141
tetradic
#417FE1 #E141CF #E1A341 #41E153
square
#417FE1 #E141CF #E1A341 #41E153
split-complementary
#417FE1 #E15341 #CFE141
monochromatic
#174691 #1F60C6 #417FE1 #76A3E9 #ABC6F2

Accessibility & contrast

On white

3.93
#417FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#417FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417FE1
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417FE1#FFFFFF#000000##000000
##417FE11.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F88E5
Deuteranopia (green-blind)
#317ADF
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #417fe1;
/* rgb */ color: rgb(65, 127, 225);
/* oklch */ color: oklch(60.5% 0.162 259.3);
Tailwind
colors: {
  custom: {
    50: '#88a3eb',
    500: '#417fe1',
    950: '#000000',
  },
}
SCSS
$custom: #417fe1;
$custom-light: #88a3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#417fe1",
  "rgb": {
    "r": 65,
    "g": 127,
    "b": 225
  },
  "hsl": {
    "h": 216.75,
    "s": 72.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60506,
    "c": 0.16232,
    "h": 259.3
  },
  "luminance": 0.21739
}

Semantic roles & 50–950 ramp

primary
#417FE1
secondary
#E0C69E
accent
#A838EF
background
#F9FAFE
surface
#F1F3FD
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #417FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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