#405BAF#405BAF
#405BAF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.5% C 0.137 H 267.8°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #405BAF |
|---|---|
| RGB | rgb(64, 91, 175) |
| HSL | hsl(225, 46%, 47%) |
| HSV | hsv(225, 63%, 69%) |
| CMYK | cmyk(63.4%, 48%, 0%, 31.4%) |
| CIE-LAB | lab(40.68, 17.15, -47.96) |
| CIE-LCH | lch(40.68, 50.93, 289.67°) |
| OKLab | oklab(49.48% -0.0053 -0.1372) |
| OKLCH | oklch(49.48% 0.137 267.8) |
| XYZ | xyz(13.5907, 11.6661, 42.0847) |
| Luminance | 0.1167 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 4.23
Denim Blue
#3B5B92
ΔE00 4.24
Sapphire
#0F52BA
ΔE00 4.57
Denim
#1560BD
ΔE00 5.26
French Blue
#436BAD
ΔE00 5.84
Denim (survey)
#3B638C
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405BAF #AF9440
analogous
#4093AF #405BAF #5C40AF
triadic
#405BAF #AF405B #5BAF40
tetradic
#405BAF #AF4093 #AF9440 #40AF5C
square
#405BAF #AF4093 #AF9440 #40AF5C
split-complementary
#405BAF #AF5C40 #93AF40
monochromatic
#1F2C55 #304482 #405BAF #657DC7 #92A3D7
Accessibility & contrast
On white
6.30
#405BAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#405BAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405BAF
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405BAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405BAF | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#1B5BAD
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #405baf; /* rgb */ color: rgb(64, 91, 175); /* oklch */ color: oklch(49.5% 0.137 267.8);
Tailwind
colors: {
custom: {
50: '#8089c7',
500: '#405baf',
950: '#000000',
},
}SCSS
$custom: #405baf; $custom-light: #8089c7; $custom-dark: #000000;
JSON
{
"hex": "#405baf",
"rgb": {
"r": 64,
"g": 91,
"b": 175
},
"hsl": {
"h": 225.405,
"s": 46.444,
"l": 46.863
},
"oklch": {
"l": 0.4948,
"c": 0.13728,
"h": 267.8
},
"luminance": 0.11667
}Semantic roles & 50–950 ramp
primary
#405BAF
secondary
#C3B488
accent
#B652D6
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82