#282A7A#282A7A
#282A7A is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.133 H 275.6°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).
Color values
| HEX | #282A7A |
|---|---|
| RGB | rgb(40, 42, 122) |
| HSL | hsl(239, 51%, 32%) |
| HSV | hsv(239, 67%, 48%) |
| CMYK | cmyk(67.2%, 65.6%, 0%, 52.2%) |
| CIE-LAB | lab(21.99, 26.26, -45.90) |
| CIE-LCH | lch(21.99, 52.88, 299.77°) |
| OKLab | oklab(33.82% 0.0129 -0.1323) |
| OKLCH | oklch(33.82% 0.133 275.6) |
| XYZ | xyz(5.2147, 3.5117, 18.8116) |
| Luminance | 0.0351 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.70
Royal
#0C1793
ΔE00 6.69
Darkslateblue
#483D8B
ΔE00 6.84
Blueberry
#464196
ΔE00 7.83
Marine
#042E60
ΔE00 7.90
Sapphire (survey)
#2138AB
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282A7A #7A7828
analogous
#28537A #282A7A #4F287A
triadic
#282A7A #7A282A #2A7A28
tetradic
#282A7A #7A2853 #7A7828 #287A4F
square
#282A7A #7A2853 #7A7828 #287A4F
split-complementary
#282A7A #7A4F28 #537A28
monochromatic
#0A0A1E #191A4C #282A7A #373AA8 #5558C7
Accessibility & contrast
On white
12.34
#282A7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#282A7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282A7A
12.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282A7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282A7A | 1.00 | 12.34 | 1.70 | 12.34 |
| #FFFFFF | 12.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #282a7a; /* rgb */ color: rgb(40, 42, 122); /* oklch */ color: oklch(33.8% 0.133 275.6);
Tailwind
colors: {
custom: {
50: '#6d63a1',
500: '#282a7a',
950: '#000000',
},
}SCSS
$custom: #282a7a; $custom-light: #6d63a1; $custom-dark: #000000;
JSON
{
"hex": "#282a7a",
"rgb": {
"r": 40,
"g": 42,
"b": 122
},
"hsl": {
"h": 238.537,
"s": 50.617,
"l": 31.765
},
"oklch": {
"l": 0.33818,
"c": 0.13292,
"h": 275.6
},
"luminance": 0.03512
}Semantic roles & 50–950 ramp
primary
#282A7A
secondary
#ACAA52
accent
#D74EDA
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#08050F
muted
#7A797F