#405BAE#405BAE
#405BAE is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.4% C 0.136 H 267.7°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #405BAE |
|---|---|
| RGB | rgb(64, 91, 174) |
| HSL | hsl(225, 46%, 47%) |
| HSV | hsv(225, 63%, 68%) |
| CMYK | cmyk(63.2%, 47.7%, 0%, 31.8%) |
| CIE-LAB | lab(40.62, 16.79, -47.47) |
| CIE-LCH | lch(40.62, 50.36, 289.48°) |
| OKLab | oklab(49.41% -0.0055 -0.1357) |
| OKLCH | oklch(49.41% 0.136 267.7) |
| XYZ | xyz(13.4928, 11.6270, 41.5694) |
| Luminance | 0.1163 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 4.11
Denim Blue
#3B5B92
ΔE00 4.11
Sapphire
#0F52BA
ΔE00 4.60
Denim
#1560BD
ΔE00 5.27
French Blue
#436BAD
ΔE00 5.82
Denim (survey)
#3B638C
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405BAE #AE9340
analogous
#4092AE #405BAE #5C40AE
triadic
#405BAE #AE405B #5BAE40
tetradic
#405BAE #AE4092 #AE9340 #40AE5C
square
#405BAE #AE4092 #AE9340 #40AE5C
split-complementary
#405BAE #AE5C40 #92AE40
monochromatic
#1F2C55 #304481 #405BAE #657DC6 #92A3D7
Accessibility & contrast
On white
6.31
#405BAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#405BAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405BAE
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405BAE | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3165B1
Deuteranopia (green-blind)
#1D5BAC
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #405bae; /* rgb */ color: rgb(64, 91, 174); /* oklch */ color: oklch(49.4% 0.136 267.7);
Tailwind
colors: {
custom: {
50: '#8089c7',
500: '#405bae',
950: '#000000',
},
}SCSS
$custom: #405bae; $custom-light: #8089c7; $custom-dark: #000000;
JSON
{
"hex": "#405bae",
"rgb": {
"r": 64,
"g": 91,
"b": 174
},
"hsl": {
"h": 225.273,
"s": 46.218,
"l": 46.667
},
"oklch": {
"l": 0.49411,
"c": 0.13586,
"h": 267.7
},
"luminance": 0.11628
}Semantic roles & 50–950 ramp
primary
#405BAE
secondary
#C2B488
accent
#B552D6
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82