#417DDC#417DDC

#417DDC is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.8% C 0.158 H 259.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#417DDC
RGBrgb(65, 125, 220)
HSLhsl(217, 69%, 56%)
HSVhsv(217, 70%, 86%)
CMYKcmyk(70.5%, 43.2%, 0%, 13.7%)
CIE-LABlab(52.90, 11.98, -54.28)
CIE-LCHlch(52.90, 55.58, 282.45°)
OKLaboklab(59.76% -0.0294 -0.1552)
OKLCHoklch(59.76% 0.158 259.3)
XYZxyz(22.4272, 20.9560, 70.5592)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417DDC #DCA041
analogous
#41CBDC #417DDC #5241DC
triadic
#417DDC #DC417D #7DDC41
tetradic
#417DDC #DC41CB #DCA041 #41DC52
square
#417DDC #DC41CB #DCA041 #41DC52
split-complementary
#417DDC #DC5241 #CBDC41
monochromatic
#194589 #235EBD #417DDC #75A0E6 #A8C4EF

Accessibility & contrast

On white

4.04
#417DDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#417DDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417DDC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417DDC#FFFFFF#000000##000000
##417DDC1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F86E0
Deuteranopia (green-blind)
#3378DA
Tritanopia (blue-blind)
#0093A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #417ddc;
/* rgb */ color: rgb(65, 125, 220);
/* oklch */ color: oklch(59.8% 0.158 259.3);
Tailwind
colors: {
  custom: {
    50: '#87a2e7',
    500: '#417ddc',
    950: '#000000',
  },
}
SCSS
$custom: #417ddc;
$custom-light: #87a2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#417ddc",
  "rgb": {
    "r": 65,
    "g": 125,
    "b": 220
  },
  "hsl": {
    "h": 216.774,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59759,
    "c": 0.15798,
    "h": 259.3
  },
  "luminance": 0.20958
}

Semantic roles & 50–950 ramp

primary
#417DDC
secondary
#DDC49C
accent
#A83CEC
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #417DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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