#282E7E#282E7E
#282E7E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.133 H 273.9°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).
Color values
| HEX | #282E7E |
|---|---|
| RGB | rgb(40, 46, 126) |
| HSL | hsl(236, 52%, 33%) |
| HSV | hsv(236, 68%, 49%) |
| CMYK | cmyk(68.3%, 63.5%, 0%, 50.6%) |
| CIE-LAB | lab(23.38, 25.03, -46.17) |
| CIE-LCH | lch(23.38, 52.52, 298.47°) |
| OKLab | oklab(34.95% 0.0092 -0.133) |
| OKLCH | oklch(34.95% 0.133 273.9) |
| XYZ | xyz(5.6167, 3.9110, 20.1935) |
| Luminance | 0.0391 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.89
Darkslateblue
#483D8B
ΔE00 6.17
Blueberry
#464196
ΔE00 6.91
Sapphire (survey)
#2138AB
ΔE00 6.99
Royal
#0C1793
ΔE00 7.24
Marine
#042E60
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282E7E #7E7828
analogous
#28597E #282E7E #4D287E
triadic
#282E7E #7E282E #2E7E28
tetradic
#282E7E #7E2859 #7E7828 #287E4D
square
#282E7E #7E2859 #7E7828 #287E4D
split-complementary
#282E7E #7E4D28 #597E28
monochromatic
#0B0C21 #191D50 #282E7E #373FAC #575FCA
Accessibility & contrast
On white
11.78
#282E7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#282E7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282E7E
11.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282E7E | 1.00 | 11.78 | 1.78 | 11.78 |
| #FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #282e7e; /* rgb */ color: rgb(40, 46, 126); /* oklch */ color: oklch(34.9% 0.133 273.9);
Tailwind
colors: {
custom: {
50: '#6d66a4',
500: '#282e7e',
950: '#000000',
},
}SCSS
$custom: #282e7e; $custom-light: #6d66a4; $custom-dark: #000000;
JSON
{
"hex": "#282e7e",
"rgb": {
"r": 40,
"g": 46,
"b": 126
},
"hsl": {
"h": 235.814,
"s": 51.807,
"l": 32.549
},
"oklch": {
"l": 0.34947,
"c": 0.13336,
"h": 273.9
},
"luminance": 0.03911
}Semantic roles & 50–950 ramp
primary
#282E7E
secondary
#AFA853
accent
#D14DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F