#417DD7#417DD7

#417DD7 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.4% C 0.151 H 258.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#417DD7
RGBrgb(65, 125, 215)
HSLhsl(216, 65%, 55%)
HSVhsv(216, 70%, 84%)
CMYKcmyk(69.8%, 41.9%, 0%, 15.7%)
CIE-LABlab(52.61, 10.19, -51.92)
CIE-LCHlch(52.61, 52.91, 281.11°)
OKLaboklab(59.44% -0.0304 -0.1483)
OKLCHoklch(59.44% 0.151 258.4)
XYZxyz(21.7749, 20.6951, 67.1238)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417DD7 #D79B41
analogous
#41C8D7 #417DD7 #5041D7
triadic
#417DD7 #D7417D #7DD741
tetradic
#417DD7 #D741C8 #D79B41 #41D750
square
#417DD7 #D741C8 #D79B41 #41D750
split-complementary
#417DD7 #D75041 #C8D741
monochromatic
#1B4582 #265FB5 #417DD7 #74A0E2 #A6C2EC

Accessibility & contrast

On white

4.09
#417DD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#417DD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417DD7
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417DD7#FFFFFF#000000##000000
##417DD71.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5285DB
Deuteranopia (green-blind)
#3977D5
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #417dd7;
/* rgb */ color: rgb(65, 125, 215);
/* oklch */ color: oklch(59.4% 0.151 258.4);
Tailwind
colors: {
  custom: {
    50: '#86a2e4',
    500: '#417dd7',
    950: '#000000',
  },
}
SCSS
$custom: #417dd7;
$custom-light: #86a2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#417dd7",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 215
  },
  "hsl": {
    "h": 216,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59444,
    "c": 0.15136,
    "h": 258.4
  },
  "luminance": 0.20697
}

Semantic roles & 50–950 ramp

primary
#417DD7
secondary
#D9C09A
accent
#A540E8
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0F15
muted
#7D7E84

Preview Lab

Preview with #417DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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