#282E7B#282E7B
#282E7B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.129 H 274.1°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).
Color values
| HEX | #282E7B |
|---|---|
| RGB | rgb(40, 46, 123) |
| HSL | hsl(236, 51%, 32%) |
| HSV | hsv(236, 67%, 48%) |
| CMYK | cmyk(67.5%, 62.6%, 0%, 51.8%) |
| CIE-LAB | lab(23.12, 23.91, -44.69) |
| CIE-LCH | lch(23.12, 50.69, 298.15°) |
| OKLab | oklab(34.68% 0.0092 -0.1287) |
| OKLCH | oklch(34.68% 0.129 274.1) |
| XYZ | xyz(5.4260, 3.8347, 19.1893) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.89
Darkslateblue
#483D8B
ΔE00 6.28
Blueberry
#464196
ΔE00 7.12
Marine
#042E60
ΔE00 7.18
Sapphire (survey)
#2138AB
ΔE00 7.44
Royal
#0C1793
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282E7B #7B7528
analogous
#28587B #282E7B #4C287B
triadic
#282E7B #7B282E #2E7B28
tetradic
#282E7B #7B2858 #7B7528 #287B4C
square
#282E7B #7B2858 #7B7528 #287B4C
split-complementary
#282E7B #7B4C28 #587B28
monochromatic
#0A0B1F #191D4D #282E7B #373FA9 #565EC8
Accessibility & contrast
On white
11.88
#282E7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#282E7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282E7B
11.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282E7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282E7B | 1.00 | 11.88 | 1.77 | 11.88 |
| #FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #282e7b; /* rgb */ color: rgb(40, 46, 123); /* oklch */ color: oklch(34.7% 0.129 274.1);
Tailwind
colors: {
custom: {
50: '#6d66a2',
500: '#282e7b',
950: '#000000',
},
}SCSS
$custom: #282e7b; $custom-light: #6d66a2; $custom-dark: #000000;
JSON
{
"hex": "#282e7b",
"rgb": {
"r": 40,
"g": 46,
"b": 123
},
"hsl": {
"h": 235.663,
"s": 50.92,
"l": 31.961
},
"oklch": {
"l": 0.34677,
"c": 0.12904,
"h": 274.1
},
"luminance": 0.03835
}Semantic roles & 50–950 ramp
primary
#282E7B
secondary
#ADA652
accent
#D04DDA
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08060F
muted
#7A7A7F