#417EDB#417EDB

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

Color values

HEX#417EDB
RGBrgb(65, 126, 219)
HSLhsl(216, 68%, 56%)
HSVhsv(216, 70%, 86%)
CMYKcmyk(70.3%, 42.5%, 0%, 14.1%)
CIE-LABlab(53.12, 11.01, -53.36)
CIE-LCHlch(53.12, 54.49, 281.66°)
OKLaboklab(59.91% -0.0305 -0.1525)
OKLCHoklch(59.91% 0.156 258.7)
XYZxyz(22.4224, 21.1576, 69.9062)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417EDB #DB9E41
analogous
#41CBDB #417EDB #5141DB
triadic
#417EDB #DB417E #7EDB41
tetradic
#417EDB #DB41CB #DB9E41 #41DB51
square
#417EDB #DB41CB #DB9E41 #41DB51
split-complementary
#417EDB #DB5141 #CBDB41
monochromatic
#1A4588 #2360BB #417EDB #74A1E5 #A8C4EE

Accessibility & contrast

On white

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

On black

5.23
#417EDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417EDB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417EDB#FFFFFF#000000##000000
##417EDB1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5187DF
Deuteranopia (green-blind)
#3678D9
Tritanopia (blue-blind)
#0094A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #417edb;
/* rgb */ color: rgb(65, 126, 219);
/* oklch */ color: oklch(59.9% 0.156 258.7);
Tailwind
colors: {
  custom: {
    50: '#87a2e7',
    500: '#417edb',
    950: '#000000',
  },
}
SCSS
$custom: #417edb;
$custom-light: #87a2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#417edb",
  "rgb": {
    "r": 65,
    "g": 126,
    "b": 219
  },
  "hsl": {
    "h": 216.234,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59911,
    "c": 0.15553,
    "h": 258.7
  },
  "luminance": 0.2116
}

Semantic roles & 50–950 ramp

primary
#417EDB
secondary
#DCC39C
accent
#A63DEB
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #417EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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