#404299#404299
#404299 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.8% C 0.139 H 277.8°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #404299 |
|---|---|
| RGB | rgb(64, 66, 153) |
| HSL | hsl(239, 41%, 43%) |
| HSV | hsv(239, 58%, 60%) |
| CMYK | cmyk(58.2%, 56.9%, 0%, 40%) |
| CIE-LAB | lab(32.45, 25.71, -48.07) |
| CIE-LCH | lch(32.45, 54.51, 298.14°) |
| OKLab | oklab(42.79% 0.0188 -0.1378) |
| OKLCH | oklch(42.79% 0.139 277.8) |
| XYZ | xyz(9.8105, 7.2856, 31.0201) |
| Luminance | 0.0729 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.40
Darkslateblue
#483D8B
ΔE00 3.54
Ocean Blue
#4F42B5
ΔE00 5.03
Sapphire (survey)
#2138AB
ΔE00 5.03
Twilight
#4E518B
ΔE00 6.43
Cobalt
#0047AB
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404299 #999740
analogous
#406E99 #404299 #6B4099
triadic
#404299 #994042 #429940
tetradic
#404299 #99406E #999740 #40996B
square
#404299 #99406E #999740 #40996B
split-complementary
#404299 #996B40 #6E9940
monochromatic
#1C1D43 #2E2F6E #404299 #5C5EBB #8788CD
Accessibility & contrast
On white
8.55
#404299 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#404299 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404299
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404299 | 1.00 | 8.55 | 2.46 | 8.55 |
| #FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#0B5667
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #404299; /* rgb */ color: rgb(64, 66, 153); /* oklch */ color: oklch(42.8% 0.139 277.8);
Tailwind
colors: {
custom: {
50: '#7d76b8',
500: '#404299',
950: '#000000',
},
}SCSS
$custom: #404299; $custom-light: #7d76b8; $custom-dark: #000000;
JSON
{
"hex": "#404299",
"rgb": {
"r": 64,
"g": 66,
"b": 153
},
"hsl": {
"h": 238.652,
"s": 41.014,
"l": 42.549
},
"oklch": {
"l": 0.42792,
"c": 0.13907,
"h": 277.8
},
"luminance": 0.07286
}Semantic roles & 50–950 ramp
primary
#404299
secondary
#B7B67E
accent
#CE57D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0811
muted
#7C7B80