#282E42#282E42
#282E42 is a dark, muted blue. Relative luminance 0.028; OKLCH L 30.5% C 0.037 H 271.2°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).
Color values
| HEX | #282E42 |
|---|---|
| RGB | rgb(40, 46, 66) |
| HSL | hsl(226, 25%, 21%) |
| HSV | hsv(226, 39%, 26%) |
| CMYK | cmyk(39.4%, 30.3%, 0%, 74.1%) |
| CIE-LAB | lab(19.22, 3.27, -13.41) |
| CIE-LCH | lch(19.22, 13.80, 283.69°) |
| OKLab | oklab(30.47% 0.0008 -0.0372) |
| OKLCH | oklch(30.47% 0.037 271.2) |
| XYZ | xyz(2.8351, 2.7983, 5.5440) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 4.99
Dark
#1B2431
ΔE00 5.62
Marine
#042E60
ΔE00 9.96
Gunmetal
#2A3439
ΔE00 9.96
Dark Blue Grey
#1F3B4D
ΔE00 9.98
Navy (survey)
#01153E
ΔE00 10.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282E42 #423C28
analogous
#283B42 #282E42 #2F2842
triadic
#282E42 #42282E #2E4228
tetradic
#282E42 #42283B #423C28 #28422F
square
#282E42 #42283B #423C28 #28422F
split-complementary
#282E42 #422F28 #3B4228
monochromatic
#0C0D13 #11131C #282E42 #3F4968 #56638E
Accessibility & contrast
On white
13.46
#282E42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#282E42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282E42
13.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282E42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282E42 | 1.00 | 13.46 | 1.56 | 13.46 |
| #FFFFFF | 13.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#283043
Deuteranopia (green-blind)
#252E42
Tritanopia (blue-blind)
#203235
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #282e42; /* rgb */ color: rgb(40, 46, 66); /* oklch */ color: oklch(30.5% 0.037 271.2);
Tailwind
colors: {
custom: {
50: '#636676',
500: '#282e42',
950: '#000000',
},
}SCSS
$custom: #282e42; $custom-light: #636676; $custom-dark: #000000;
JSON
{
"hex": "#282e42",
"rgb": {
"r": 40,
"g": 46,
"b": 66
},
"hsl": {
"h": 226.154,
"s": 24.528,
"l": 20.784
},
"oklch": {
"l": 0.30474,
"c": 0.03723,
"h": 271.2
},
"luminance": 0.02798
}Semantic roles & 50–950 ramp
primary
#282E42
secondary
#746C52
accent
#AC67C1
background
#F5F6F7
surface
#EAEBED
border
#C6C6C8
text
#050608
muted
#797A7B