#282A9E#282A9E
#282A9E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.181 H 272.7°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).
Color values
| HEX | #282A9E |
|---|---|
| RGB | rgb(40, 42, 158) |
| HSL | hsl(239, 60%, 39%) |
| HSV | hsv(239, 75%, 62%) |
| CMYK | cmyk(74.7%, 73.4%, 0%, 38%) |
| CIE-LAB | lab(25.49, 39.13, -62.55) |
| CIE-LCH | lch(25.49, 73.78, 302.03°) |
| OKLab | oklab(37.41% 0.0084 -0.181) |
| OKLCH | oklch(37.41% 0.181 272.7) |
| XYZ | xyz(7.8725, 4.5749, 32.8093) |
| Luminance | 0.0458 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.30
Royal
#0C1793
ΔE00 4.74
Indigo Blue
#3A18B1
ΔE00 4.97
Cobalt Blue
#030AA7
ΔE00 5.95
Royal Blue (survey)
#0504AA
ΔE00 6.46
Ultramarine
#2000B1
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282A9E #9E9C28
analogous
#28659E #282A9E #61289E
triadic
#282A9E #9E282A #2A9E28
tetradic
#282A9E #9E2865 #9E9C28 #289E61
square
#282A9E #9E2865 #9E9C28 #289E61
split-complementary
#282A9E #9E6128 #659E28
monochromatic
#0F103C #1C1D6D #282A9E #3739CC #686AD9
Accessibility & contrast
On white
10.96
#282A9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#282A9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282A9E
10.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282A9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282A9E | 1.00 | 10.96 | 1.92 | 10.96 |
| #FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #282a9e; /* rgb */ color: rgb(40, 42, 158); /* oklch */ color: oklch(37.4% 0.181 272.7);
Tailwind
colors: {
custom: {
50: '#7565bc',
500: '#282a9e',
950: '#000000',
},
}SCSS
$custom: #282a9e; $custom-light: #7565bc; $custom-dark: #000000;
JSON
{
"hex": "#282a9e",
"rgb": {
"r": 40,
"g": 42,
"b": 158
},
"hsl": {
"h": 238.983,
"s": 59.596,
"l": 38.824
},
"oklch": {
"l": 0.37413,
"c": 0.1812,
"h": 272.7
},
"luminance": 0.04576
}Semantic roles & 50–950 ramp
primary
#282A9E
secondary
#BFBD63
accent
#E045E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81