#282E7A#282E7A
#282E7A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.128 H 274.2°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).
Color values
| HEX | #282E7A |
|---|---|
| RGB | rgb(40, 46, 122) |
| HSL | hsl(236, 51%, 32%) |
| HSV | hsv(236, 67%, 48%) |
| CMYK | cmyk(67.2%, 62.3%, 0%, 52.2%) |
| CIE-LAB | lab(23.03, 23.54, -44.19) |
| CIE-LCH | lch(23.03, 50.07, 298.05°) |
| OKLab | oklab(34.59% 0.0093 -0.1272) |
| OKLCH | oklch(34.59% 0.128 274.2) |
| XYZ | xyz(5.3638, 3.8098, 18.8613) |
| Luminance | 0.0381 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.91
Darkslateblue
#483D8B
ΔE00 6.33
Marine
#042E60
ΔE00 7.07
Blueberry
#464196
ΔE00 7.20
Sapphire (survey)
#2138AB
ΔE00 7.60
Royal
#0C1793
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282E7A #7A7428
analogous
#28577A #282E7A #4B287A
triadic
#282E7A #7A282E #2E7A28
tetradic
#282E7A #7A2857 #7A7428 #287A4B
square
#282E7A #7A2857 #7A7428 #287A4B
split-complementary
#282E7A #7A4B28 #577A28
monochromatic
#0A0B1E #191D4C #282E7A #373FA8 #555DC7
Accessibility & contrast
On white
11.92
#282E7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#282E7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282E7A
11.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282E7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282E7A | 1.00 | 11.92 | 1.76 | 11.92 |
| #FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #282e7a; /* rgb */ color: rgb(40, 46, 122); /* oklch */ color: oklch(34.6% 0.128 274.2);
Tailwind
colors: {
custom: {
50: '#6c66a1',
500: '#282e7a',
950: '#000000',
},
}SCSS
$custom: #282e7a; $custom-light: #6c66a1; $custom-dark: #000000;
JSON
{
"hex": "#282e7a",
"rgb": {
"r": 40,
"g": 46,
"b": 122
},
"hsl": {
"h": 235.61,
"s": 50.617,
"l": 31.765
},
"oklch": {
"l": 0.34587,
"c": 0.12759,
"h": 274.2
},
"luminance": 0.0381
}Semantic roles & 50–950 ramp
primary
#282E7A
secondary
#ACA552
accent
#D04EDA
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08060F
muted
#7A7A7F