#405AD0#405AD0

#405AD0 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.7% C 0.184 H 269.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#405AD0
RGBrgb(64, 90, 208)
HSLhsl(229, 61%, 53%)
HSVhsv(229, 69%, 82%)
CMYKcmyk(69.2%, 56.7%, 0%, 18.4%)
CIE-LABlab(42.69, 29.55, -63.91)
CIE-LCHlch(42.69, 70.41, 294.82°)
OKLaboklab(51.73% -0.0017 -0.1841)
OKLCHoklch(51.73% 0.184 269.5)
XYZxyz(17.1518, 12.9547, 61.2589)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405AD0 #D0B640
analogous
#40A2D0 #405AD0 #6E40D0
triadic
#405AD0 #D0405A #5AD040
tetradic
#405AD0 #D040A2 #D0B640 #40D06E
square
#405AD0 #D040A2 #D0B640 #40D06E
split-complementary
#405AD0 #D06E40 #A2D040
monochromatic
#1E2E78 #2A41A9 #405AD0 #7184DC #A2AFE8

Accessibility & contrast

On white

5.85
#405AD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#405AD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405AD0
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405AD0#FFFFFF#000000##FFFFFF
##405AD01.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD4
Deuteranopia (green-blind)
#005ECE
Tritanopia (blue-blind)
#00778C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #405ad0;
/* rgb */ color: rgb(64, 90, 208);
/* oklch */ color: oklch(51.7% 0.184 269.5);
Tailwind
colors: {
  custom: {
    50: '#8688df',
    500: '#405ad0',
    950: '#000000',
  },
}
SCSS
$custom: #405ad0;
$custom-light: #8688df;
$custom-dark: #000000;
JSON
{
  "hex": "#405ad0",
  "rgb": {
    "r": 64,
    "g": 90,
    "b": 208
  },
  "hsl": {
    "h": 229.167,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51726,
    "c": 0.18412,
    "h": 269.5
  },
  "luminance": 0.12956
}

Semantic roles & 50–950 ramp

primary
#405AD0
secondary
#D5CA97
accent
#C744E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #405AD0

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

Preview Lab → · Contrast checker → · Palette generator →

#405AD0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva