#404262#404262
#404262 is a dark, muted blue. Relative luminance 0.059; OKLCH L 39.1% C 0.054 H 280.8°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #404262 |
|---|---|
| RGB | rgb(64, 66, 98) |
| HSL | hsl(236, 21%, 32%) |
| HSV | hsv(236, 35%, 38%) |
| CMYK | cmyk(34.7%, 32.7%, 0%, 61.6%) |
| CIE-LAB | lab(29.08, 7.69, -19.11) |
| CIE-LCH | lch(29.08, 20.60, 291.93°) |
| OKLab | oklab(39.15% 0.0102 -0.0531) |
| OKLCH | oklch(39.15% 0.054 280.8) |
| XYZ | xyz(6.2666, 5.8681, 12.3554) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 7.39
Twilight
#4E518B
ΔE00 8.84
Navy Blue
#1B2A4A
ΔE00 9.21
Darkslateblue
#483D8B
ΔE00 10.24
Marine
#042E60
ΔE00 11.20
Marine Blue
#01386A
ΔE00 11.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404262 #626040
analogous
#405362 #404262 #4F4062
triadic
#404262 #624042 #426240
tetradic
#404262 #624053 #626040 #40624F
square
#404262 #624053 #626040 #40624F
split-complementary
#404262 #624F40 #536240
monochromatic
#101018 #28293D #404262 #585B87 #7779A6
Accessibility & contrast
On white
9.66
#404262 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#404262 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404262
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404262 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404262 | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#384663
Deuteranopia (green-blind)
#374361
Tritanopia (blue-blind)
#37484D
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #404262; /* rgb */ color: rgb(64, 66, 98); /* oklch */ color: oklch(39.1% 0.054 280.8);
Tailwind
colors: {
custom: {
50: '#76768e',
500: '#404262',
950: '#000000',
},
}SCSS
$custom: #404262; $custom-light: #76768e; $custom-dark: #000000;
JSON
{
"hex": "#404262",
"rgb": {
"r": 64,
"g": 66,
"b": 98
},
"hsl": {
"h": 236.471,
"s": 20.988,
"l": 31.765
},
"oklch": {
"l": 0.39147,
"c": 0.0541,
"h": 280.8
},
"luminance": 0.05868
}Semantic roles & 50–950 ramp
primary
#404262
secondary
#928F6C
accent
#B96ABE
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08080C
muted
#7B7B7D