#405DAE#405DAE

#405DAE is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.8% C 0.133 H 266.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#405DAE
RGBrgb(64, 93, 174)
HSLhsl(224, 46%, 47%)
HSVhsv(224, 63%, 68%)
CMYKcmyk(63.2%, 46.6%, 0%, 31.8%)
CIE-LABlab(41.17, 15.50, -46.58)
CIE-LCHlch(41.17, 49.09, 288.41°)
OKLaboklab(49.84% -0.0075 -0.1331)
OKLCHoklch(49.84% 0.133 266.8)
XYZxyz(13.6661, 11.9735, 41.6271)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405DAE #AE9140
analogous
#4094AE #405DAE #5A40AE
triadic
#405DAE #AE405D #5DAE40
tetradic
#405DAE #AE4094 #AE9140 #40AE5A
square
#405DAE #AE4094 #AE9140 #40AE5A
split-complementary
#405DAE #AE5A40 #94AE40
monochromatic
#1F2D55 #304581 #405DAE #657FC6 #92A4D7

Accessibility & contrast

On white

6.19
#405DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#405DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405DAE
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405DAE#FFFFFF#000000##FFFFFF
##405DAE1.006.193.406.19
#FFFFFF6.191.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3666B1
Deuteranopia (green-blind)
#235CAC
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #405dae;
/* rgb */ color: rgb(64, 93, 174);
/* oklch */ color: oklch(49.8% 0.133 266.8);
Tailwind
colors: {
  custom: {
    50: '#7f8ac7',
    500: '#405dae',
    950: '#000000',
  },
}
SCSS
$custom: #405dae;
$custom-light: #7f8ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#405dae",
  "rgb": {
    "r": 64,
    "g": 93,
    "b": 174
  },
  "hsl": {
    "h": 224.182,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49836,
    "c": 0.1333,
    "h": 266.8
  },
  "luminance": 0.11975
}

Semantic roles & 50–950 ramp

primary
#405DAE
secondary
#C2B388
accent
#B352D6
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #405DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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