#282E9E#282E9E
#282E9E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.177 H 272.0°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).
Color values
| HEX | #282E9E |
|---|---|
| RGB | rgb(40, 46, 158) |
| HSL | hsl(237, 60%, 39%) |
| HSV | hsv(237, 75%, 62%) |
| CMYK | cmyk(74.7%, 70.9%, 0%, 38%) |
| CIE-LAB | lab(26.37, 36.69, -61.10) |
| CIE-LCH | lch(26.37, 71.27, 300.99°) |
| OKLab | oklab(38.05% 0.0063 -0.1768) |
| OKLCH | oklch(38.05% 0.177 272) |
| XYZ | xyz(8.0215, 4.8729, 32.8589) |
| Luminance | 0.0487 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.36
Royal
#0C1793
ΔE00 5.68
Indigo Blue
#3A18B1
ΔE00 5.83
Blueberry
#464196
ΔE00 6.47
Darkslateblue
#483D8B
ΔE00 6.95
Cobalt Blue
#030AA7
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282E9E #9E9828
analogous
#28699E #282E9E #5D289E
triadic
#282E9E #9E282E #2E9E28
tetradic
#282E9E #9E2869 #9E9828 #289E5D
square
#282E9E #9E2869 #9E9828 #289E5D
split-complementary
#282E9E #9E5D28 #699E28
monochromatic
#0F123C #1C206D #282E9E #373ECC #686DD9
Accessibility & contrast
On white
10.63
#282E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#282E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282E9E
10.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282E9E | 1.00 | 10.63 | 1.97 | 10.63 |
| #FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #282e9e; /* rgb */ color: rgb(40, 46, 158); /* oklch */ color: oklch(38.0% 0.177 272.0);
Tailwind
colors: {
custom: {
50: '#7567bc',
500: '#282e9e',
950: '#000000',
},
}SCSS
$custom: #282e9e; $custom-light: #7567bc; $custom-dark: #000000;
JSON
{
"hex": "#282e9e",
"rgb": {
"r": 40,
"g": 46,
"b": 158
},
"hsl": {
"h": 236.949,
"s": 59.596,
"l": 38.824
},
"oklch": {
"l": 0.38046,
"c": 0.17688,
"h": 272
},
"luminance": 0.04874
}Semantic roles & 50–950 ramp
primary
#282E9E
secondary
#BFBA63
accent
#DB45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81