#404261#404261
#404261 is a dark, muted blue. Relative luminance 0.058; OKLCH L 39.1% C 0.052 H 280.8°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #404261 |
|---|---|
| RGB | rgb(64, 66, 97) |
| HSL | hsl(236, 20%, 32%) |
| HSV | hsv(236, 34%, 38%) |
| CMYK | cmyk(34%, 32%, 0%, 62%) |
| CIE-LAB | lab(29.03, 7.40, -18.54) |
| CIE-LCH | lch(29.03, 19.96, 291.75°) |
| OKLab | oklab(39.09% 0.0099 -0.0515) |
| OKLCH | oklch(39.09% 0.052 280.8) |
| XYZ | xyz(6.2196, 5.8493, 12.1083) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 7.57
Twilight
#4E518B
ΔE00 9.09
Navy Blue
#1B2A4A
ΔE00 9.21
Darkslateblue
#483D8B
ΔE00 10.53
Marine
#042E60
ΔE00 11.33
Marine Blue
#01386A
ΔE00 11.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404261 #615F40
analogous
#405361 #404261 #4F4061
triadic
#404261 #614042 #426140
tetradic
#404261 #614053 #615F40 #40614F
square
#404261 #614053 #615F40 #40614F
split-complementary
#404261 #614F40 #536140
monochromatic
#0F1017 #28293C #404261 #585B86 #7679A5
Accessibility & contrast
On white
9.68
#404261 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#404261 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404261
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404261 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404261 | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394662
Deuteranopia (green-blind)
#374360
Tritanopia (blue-blind)
#37484D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #404261; /* rgb */ color: rgb(64, 66, 97); /* oklch */ color: oklch(39.1% 0.052 280.8);
Tailwind
colors: {
custom: {
50: '#76768e',
500: '#404261',
950: '#000000',
},
}SCSS
$custom: #404261; $custom-light: #76768e; $custom-dark: #000000;
JSON
{
"hex": "#404261",
"rgb": {
"r": 64,
"g": 66,
"b": 97
},
"hsl": {
"h": 236.364,
"s": 20.497,
"l": 31.569
},
"oklch": {
"l": 0.39094,
"c": 0.05244,
"h": 280.8
},
"luminance": 0.05849
}Semantic roles & 50–950 ramp
primary
#404261
secondary
#918E6C
accent
#B86BBD
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08080C
muted
#7B7B7D