#405DA9#405DA9

#405DA9 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.5% C 0.126 H 266.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#405DA9
RGBrgb(64, 93, 169)
HSLhsl(223, 45%, 46%)
HSVhsv(223, 62%, 66%)
CMYKcmyk(62.1%, 45%, 0%, 33.7%)
CIE-LABlab(40.87, 13.73, -44.12)
CIE-LCHlch(40.87, 46.21, 287.29°)
OKLaboklab(49.5% -0.0084 -0.1259)
OKLCHoklch(49.5% 0.126 266.2)
XYZxyz(13.1877, 11.7821, 39.1076)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405DA9 #A98C40
analogous
#4091A9 #405DA9 #5840A9
triadic
#405DA9 #A9405D #5DA940
tetradic
#405DA9 #A94091 #A98C40 #40A958
square
#405DA9 #A94091 #A98C40 #40A958
split-complementary
#405DA9 #A95840 #91A940
monochromatic
#1E2C50 #2F457D #405DA9 #627DC4 #8FA2D5

Accessibility & contrast

On white

6.26
#405DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#405DA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405DA9
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405DA9#FFFFFF#000000##FFFFFF
##405DA91.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A65AC
Deuteranopia (green-blind)
#295CA7
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #405da9;
/* rgb */ color: rgb(64, 93, 169);
/* oklch */ color: oklch(49.5% 0.126 266.2);
Tailwind
colors: {
  custom: {
    50: '#7f8ac3',
    500: '#405da9',
    950: '#000000',
  },
}
SCSS
$custom: #405da9;
$custom-light: #7f8ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#405da9",
  "rgb": {
    "r": 64,
    "g": 93,
    "b": 169
  },
  "hsl": {
    "h": 223.429,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49503,
    "c": 0.12614,
    "h": 266.2
  },
  "luminance": 0.11783
}

Semantic roles & 50–950 ramp

primary
#405DA9
secondary
#C0AF85
accent
#B153D5
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #405DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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