#404995#404995
#404995 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.9% C 0.124 H 275.0°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #404995 |
|---|---|
| RGB | rgb(64, 73, 149) |
| HSL | hsl(234, 40%, 42%) |
| HSV | hsv(234, 57%, 58%) |
| CMYK | cmyk(57%, 51%, 0%, 41.6%) |
| CIE-LAB | lab(34.03, 19.75, -43.08) |
| CIE-LCH | lch(34.03, 47.39, 294.63°) |
| OKLab | oklab(43.89% 0.0108 -0.123) |
| OKLCH | oklch(43.89% 0.124 275) |
| XYZ | xyz(9.9200, 8.0243, 29.4541) |
| Luminance | 0.0803 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.41
Twilight
#4E518B
ΔE00 4.46
Darkslateblue
#483D8B
ΔE00 5.06
Cobalt (survey)
#1E488F
ΔE00 5.59
Cobalt
#0047AB
ΔE00 6.35
Ocean Blue
#4F42B5
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404995 #958C40
analogous
#407495 #404995 #624095
triadic
#404995 #954049 #499540
tetradic
#404995 #954074 #958C40 #409562
square
#404995 #954074 #958C40 #409562
split-complementary
#404995 #956240 #749540
monochromatic
#1B1F3F #2E346A #404995 #5A64B8 #858CCB
Accessibility & contrast
On white
8.06
#404995 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#404995 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404995
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404995 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404995 | 1.00 | 8.06 | 2.61 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#225498
Deuteranopia (green-blind)
#154D93
Tritanopia (blue-blind)
#115A68
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #404995; /* rgb */ color: rgb(64, 73, 149); /* oklch */ color: oklch(43.9% 0.124 275.0);
Tailwind
colors: {
custom: {
50: '#7c7bb5',
500: '#404995',
950: '#000000',
},
}SCSS
$custom: #404995; $custom-light: #7c7bb5; $custom-dark: #000000;
JSON
{
"hex": "#404995",
"rgb": {
"r": 64,
"g": 73,
"b": 149
},
"hsl": {
"h": 233.647,
"s": 39.906,
"l": 41.765
},
"oklch": {
"l": 0.43891,
"c": 0.12353,
"h": 275
},
"luminance": 0.08025
}Semantic roles & 50–950 ramp
primary
#404995
secondary
#B5AF7C
accent
#C358D0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80