#404399#404399
#404399 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.0% C 0.138 H 277.4°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #404399 |
|---|---|
| RGB | rgb(64, 67, 153) |
| HSL | hsl(238, 41%, 43%) |
| HSV | hsv(238, 58%, 60%) |
| CMYK | cmyk(58.2%, 56.2%, 0%, 40%) |
| CIE-LAB | lab(32.71, 25.06, -47.65) |
| CIE-LCH | lch(32.71, 53.84, 297.74°) |
| OKLab | oklab(42.99% 0.0177 -0.1365) |
| OKLCH | oklch(42.99% 0.138 277.4) |
| XYZ | xyz(9.8694, 7.4035, 31.0398) |
| Luminance | 0.0740 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.58
Darkslateblue
#483D8B
ΔE00 3.71
Ocean Blue
#4F42B5
ΔE00 5.13
Sapphire (survey)
#2138AB
ΔE00 5.20
Twilight
#4E518B
ΔE00 6.18
Cobalt
#0047AB
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404399 #999640
analogous
#406F99 #404399 #6A4099
triadic
#404399 #994043 #439940
tetradic
#404399 #99406F #999640 #40996A
square
#404399 #99406F #999640 #40996A
split-complementary
#404399 #996A40 #6F9940
monochromatic
#1C1D43 #2E306E #404399 #5C5FBB #8789CD
Accessibility & contrast
On white
8.47
#404399 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#404399 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404399
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404399 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404399 | 1.00 | 8.47 | 2.48 | 8.47 |
| #FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#05519C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#0A5767
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #404399; /* rgb */ color: rgb(64, 67, 153); /* oklch */ color: oklch(43.0% 0.138 277.4);
Tailwind
colors: {
custom: {
50: '#7d77b8',
500: '#404399',
950: '#000000',
},
}SCSS
$custom: #404399; $custom-light: #7d77b8; $custom-dark: #000000;
JSON
{
"hex": "#404399",
"rgb": {
"r": 64,
"g": 67,
"b": 153
},
"hsl": {
"h": 237.978,
"s": 41.014,
"l": 42.549
},
"oklch": {
"l": 0.42985,
"c": 0.13769,
"h": 277.4
},
"luminance": 0.07404
}Semantic roles & 50–950 ramp
primary
#404399
secondary
#B7B57E
accent
#CD57D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0811
muted
#7C7B80