#417BDB#417BDB

#417BDB is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.3% C 0.159 H 259.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#417BDB
RGBrgb(65, 123, 219)
HSLhsl(217, 68%, 56%)
HSVhsv(217, 70%, 86%)
CMYKcmyk(70.3%, 43.8%, 0%, 14.1%)
CIE-LABlab(52.29, 12.85, -54.69)
CIE-LCHlch(52.29, 56.18, 283.23°)
OKLaboklab(59.27% -0.0278 -0.1565)
OKLCHoklch(59.27% 0.159 259.9)
XYZxyz(22.0445, 20.4019, 69.7803)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417BDB #DBA141
analogous
#41C8DB #417BDB #5441DB
triadic
#417BDB #DB417B #7BDB41
tetradic
#417BDB #DB41C8 #DBA141 #41DB54
square
#417BDB #DB41C8 #DBA141 #41DB54
split-complementary
#417BDB #DB5441 #C8DB41
monochromatic
#1A4388 #235DBB #417BDB #749FE5 #A8C2EE

Accessibility & contrast

On white

4.13
#417BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#417BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #417BDB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417BDB#FFFFFF#000000##000000
##417BDB1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C84DF
Deuteranopia (green-blind)
#2F76D9
Tritanopia (blue-blind)
#0091A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #417bdb;
/* rgb */ color: rgb(65, 123, 219);
/* oklch */ color: oklch(59.3% 0.159 259.9);
Tailwind
colors: {
  custom: {
    50: '#87a0e7',
    500: '#417bdb',
    950: '#000000',
  },
}
SCSS
$custom: #417bdb;
$custom-light: #87a0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#417bdb",
  "rgb": {
    "r": 65,
    "g": 123,
    "b": 219
  },
  "hsl": {
    "h": 217.403,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59267,
    "c": 0.15892,
    "h": 259.9
  },
  "luminance": 0.20404
}

Semantic roles & 50–950 ramp

primary
#417BDB
secondary
#DCC49C
accent
#A93DEB
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #417BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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