#417FD7#417FD7

#417FD7 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 59.9% C 0.149 H 257.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#417FD7
RGBrgb(65, 127, 215)
HSLhsl(215, 65%, 55%)
HSVhsv(215, 70%, 84%)
CMYKcmyk(69.8%, 40.9%, 0%, 15.7%)
CIE-LABlab(53.17, 8.97, -51.02)
CIE-LCHlch(53.17, 51.80, 279.97°)
OKLaboklab(59.88% -0.0322 -0.1456)
OKLCHoklch(59.88% 0.149 257.5)
XYZxyz(22.0306, 21.2065, 67.2090)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417FD7 #D79941
analogous
#41CAD7 #417FD7 #4E41D7
triadic
#417FD7 #D7417F #7FD741
tetradic
#417FD7 #D741CA #D79941 #41D74E
square
#417FD7 #D741CA #D79941 #41D74E
split-complementary
#417FD7 #D74E41 #CAD741
monochromatic
#1B4682 #2661B5 #417FD7 #74A1E2 #A6C3EC

Accessibility & contrast

On white

4.01
#417FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#417FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417FD7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417FD7#FFFFFF#000000##000000
##417FD71.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5687DA
Deuteranopia (green-blind)
#3D79D5
Tritanopia (blue-blind)
#0093A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #417fd7;
/* rgb */ color: rgb(65, 127, 215);
/* oklch */ color: oklch(59.9% 0.149 257.5);
Tailwind
colors: {
  custom: {
    50: '#86a3e4',
    500: '#417fd7',
    950: '#000000',
  },
}
SCSS
$custom: #417fd7;
$custom-light: #86a3e4;
$custom-dark: #000000;
JSON
{
  "hex": "#417fd7",
  "rgb": {
    "r": 65,
    "g": 127,
    "b": 215
  },
  "hsl": {
    "h": 215.2,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59879,
    "c": 0.14914,
    "h": 257.5
  },
  "luminance": 0.21209
}

Semantic roles & 50–950 ramp

primary
#417FD7
secondary
#D9BF9A
accent
#A340E8
background
#F8FAFE
surface
#F0F3FC
border
#CBCDD5
text
#0D0F15
muted
#7D7F84

Preview Lab

Preview with #417FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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