#405CA9#405CA9

#405CA9 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.3% C 0.127 H 266.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#405CA9
RGBrgb(64, 92, 169)
HSLhsl(224, 45%, 46%)
HSVhsv(224, 62%, 66%)
CMYKcmyk(62.1%, 45.6%, 0%, 33.7%)
CIE-LABlab(40.59, 14.37, -44.57)
CIE-LCHlch(40.59, 46.83, 287.87°)
OKLaboklab(49.29% -0.0073 -0.1272)
OKLCHoklch(49.29% 0.127 266.7)
XYZxyz(13.1005, 11.6077, 39.0786)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405CA9 #A98D40
analogous
#4090A9 #405CA9 #5840A9
triadic
#405CA9 #A9405C #5CA940
tetradic
#405CA9 #A94090 #A98D40 #40A958
square
#405CA9 #A94090 #A98D40 #40A958
split-complementary
#405CA9 #A95840 #90A940
monochromatic
#1E2C50 #2F447D #405CA9 #627CC4 #8FA1D5

Accessibility & contrast

On white

6.32
#405CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#405CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405CA9
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405CA9#FFFFFF#000000##FFFFFF
##405CA91.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3865AC
Deuteranopia (green-blind)
#275BA7
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #405ca9;
/* rgb */ color: rgb(64, 92, 169);
/* oklch */ color: oklch(49.3% 0.127 266.7);
Tailwind
colors: {
  custom: {
    50: '#7f89c3',
    500: '#405ca9',
    950: '#000000',
  },
}
SCSS
$custom: #405ca9;
$custom-light: #7f89c3;
$custom-dark: #000000;
JSON
{
  "hex": "#405ca9",
  "rgb": {
    "r": 64,
    "g": 92,
    "b": 169
  },
  "hsl": {
    "h": 224,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49287,
    "c": 0.12741,
    "h": 266.7
  },
  "luminance": 0.11609
}

Semantic roles & 50–950 ramp

primary
#405CA9
secondary
#C0B085
accent
#B253D5
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #405CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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