#404199#404199
#404199 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.6% C 0.140 H 278.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #404199 |
|---|---|
| RGB | rgb(64, 65, 153) |
| HSL | hsl(239, 41%, 43%) |
| HSV | hsv(239, 58%, 60%) |
| CMYK | cmyk(58.2%, 57.5%, 0%, 40%) |
| CIE-LAB | lab(32.19, 26.36, -48.49) |
| CIE-LCH | lch(32.19, 55.19, 298.53°) |
| OKLab | oklab(42.6% 0.0199 -0.139) |
| OKLCH | oklch(42.6% 0.14 278.1) |
| XYZ | xyz(9.7526, 7.1698, 31.0008) |
| Luminance | 0.0717 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.29
Darkslateblue
#483D8B
ΔE00 3.38
Sapphire (survey)
#2138AB
ΔE00 4.89
Ocean Blue
#4F42B5
ΔE00 4.95
Twilight
#4E518B
ΔE00 6.69
Blue Blue
#2242C7
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404199 #999840
analogous
#406D99 #404199 #6C4099
triadic
#404199 #994041 #419940
tetradic
#404199 #99406D #999840 #40996C
square
#404199 #99406D #999840 #40996C
split-complementary
#404199 #996C40 #6D9940
monochromatic
#1C1C43 #2E2F6E #404199 #5C5DBB #8788CD
Accessibility & contrast
On white
8.63
#404199 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#404199 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404199
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404199 | 1.00 | 8.63 | 2.43 | 8.63 |
| #FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#0B5666
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #404199; /* rgb */ color: rgb(64, 65, 153); /* oklch */ color: oklch(42.6% 0.140 278.1);
Tailwind
colors: {
custom: {
50: '#7d75b8',
500: '#404199',
950: '#000000',
},
}SCSS
$custom: #404199; $custom-light: #7d75b8; $custom-dark: #000000;
JSON
{
"hex": "#404199",
"rgb": {
"r": 64,
"g": 65,
"b": 153
},
"hsl": {
"h": 239.326,
"s": 41.014,
"l": 42.549
},
"oklch": {
"l": 0.426,
"c": 0.14044,
"h": 278.1
},
"luminance": 0.0717
}Semantic roles & 50–950 ramp
primary
#404199
secondary
#B7B77E
accent
#CF57D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0811
muted
#7C7B80