#405199#405199
#405199 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.9% C 0.118 H 271.1°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #405199 |
|---|---|
| RGB | rgb(64, 81, 153) |
| HSL | hsl(229, 41%, 43%) |
| HSV | hsv(229, 58%, 60%) |
| CMYK | cmyk(58.2%, 47.1%, 0%, 40%) |
| CIE-LAB | lab(36.51, 15.89, -41.54) |
| CIE-LCH | lch(36.51, 44.48, 290.93°) |
| OKLab | oklab(45.85% 0.0022 -0.1184) |
| OKLCH | oklch(45.85% 0.118 271.1) |
| XYZ | xyz(10.8047, 9.2739, 31.3515) |
| Luminance | 0.0927 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.41
Denim Blue
#3B5B92
ΔE00 4.60
Dusky Blue
#475F94
ΔE00 4.98
Cobalt (survey)
#1E488F
ΔE00 5.25
Dusk Blue
#26538D
ΔE00 5.67
Cobalt
#0047AB
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405199 #998840
analogous
#407E99 #405199 #5B4099
triadic
#405199 #994051 #519940
tetradic
#405199 #99407E #998840 #40995B
square
#405199 #99407E #998840 #40995B
split-complementary
#405199 #995B40 #7E9940
monochromatic
#1C2343 #2E3A6E #405199 #5C6EBB #8794CD
Accessibility & contrast
On white
7.36
#405199 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#405199 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #405199
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405199 | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#305A9C
Deuteranopia (green-blind)
#235297
Tritanopia (blue-blind)
#04616D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #405199; /* rgb */ color: rgb(64, 81, 153); /* oklch */ color: oklch(45.9% 0.118 271.1);
Tailwind
colors: {
custom: {
50: '#7c81b7',
500: '#405199',
950: '#000000',
},
}SCSS
$custom: #405199; $custom-light: #7c81b7; $custom-dark: #000000;
JSON
{
"hex": "#405199",
"rgb": {
"r": 64,
"g": 81,
"b": 153
},
"hsl": {
"h": 228.539,
"s": 41.014,
"l": 42.549
},
"oklch": {
"l": 0.45851,
"c": 0.11845,
"h": 271.1
},
"luminance": 0.09275
}Semantic roles & 50–950 ramp
primary
#405199
secondary
#B7AC7E
accent
#BA57D1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80