#282C3E#282C3E
#282C3E is a dark, muted blue. Relative luminance 0.026; OKLCH L 29.7% C 0.033 H 274.5°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).
Color values
| HEX | #282C3E |
|---|---|
| RGB | rgb(40, 44, 62) |
| HSL | hsl(229, 22%, 20%) |
| HSV | hsv(229, 35%, 24%) |
| CMYK | cmyk(35.5%, 29%, 0%, 75.7%) |
| CIE-LAB | lab(18.37, 3.39, -11.98) |
| CIE-LCH | lch(18.37, 12.45, 285.80°) |
| OKLab | oklab(29.75% 0.0026 -0.0331) |
| OKLCH | oklch(29.75% 0.033 274.5) |
| XYZ | xyz(2.6450, 2.6002, 4.9190) |
| Luminance | 0.0260 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 5.23
Navy Blue
#1B2A4A
ΔE00 5.87
Gunmetal
#2A3439
ΔE00 9.76
Onyx
#353839
ΔE00 10.52
Dark Blue Grey
#1F3B4D
ΔE00 10.65
Dark Grey
#363737
ΔE00 10.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282C3E #3E3A28
analogous
#28373E #282C3E #2F283E
triadic
#282C3E #3E282C #2C3E28
tetradic
#282C3E #3E2837 #3E3A28 #283E2F
square
#282C3E #3E2837 #3E3A28 #283E2F
split-complementary
#282C3E #3E2F28 #373E28
monochromatic
#0C0D13 #101219 #282C3E #404663 #586188
Accessibility & contrast
On white
13.82
#282C3E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#282C3E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282C3E
13.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282C3E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282C3E | 1.00 | 13.82 | 1.52 | 13.82 |
| #FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#272E3F
Deuteranopia (green-blind)
#252C3E
Tritanopia (blue-blind)
#222F32
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #282c3e; /* rgb */ color: rgb(40, 44, 62); /* oklch */ color: oklch(29.7% 0.033 274.5);
Tailwind
colors: {
custom: {
50: '#626573',
500: '#282c3e',
950: '#000000',
},
}SCSS
$custom: #282c3e; $custom-light: #626573; $custom-dark: #000000;
JSON
{
"hex": "#282c3e",
"rgb": {
"r": 40,
"g": 44,
"b": 62
},
"hsl": {
"h": 229.091,
"s": 21.569,
"l": 20
},
"oklch": {
"l": 0.29747,
"c": 0.03324,
"h": 274.5
},
"luminance": 0.026
}Semantic roles & 50–950 ramp
primary
#282C3E
secondary
#706A52
accent
#AF6ABE
background
#F5F6F6
surface
#EAEBEC
border
#C6C6C7
text
#050508
muted
#797A7B