#282EA9#282EA9
#282EA9 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.191 H 271.4°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #282EA9 |
|---|---|
| RGB | rgb(40, 46, 169) |
| HSL | hsl(237, 62%, 41%) |
| HSV | hsv(237, 76%, 66%) |
| CMYK | cmyk(76.3%, 72.8%, 0%, 33.7%) |
| CIE-LAB | lab(27.49, 40.55, -65.92) |
| CIE-LCH | lch(27.49, 77.39, 301.59°) |
| OKLab | oklab(39.18% 0.0047 -0.1908) |
| OKLCH | oklch(39.18% 0.191 271.4) |
| XYZ | xyz(9.0111, 5.2687, 38.0705) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.03
Indigo Blue
#3A18B1
ΔE00 5.04
Royal
#0C1793
ΔE00 6.19
True Blue
#010FCC
ΔE00 6.36
Blue Blue
#2242C7
ΔE00 6.68
Cobalt Blue
#030AA7
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282EA9 #A9A328
analogous
#286EA9 #282EA9 #6228A9
triadic
#282EA9 #A9282E #2EA928
tetradic
#282EA9 #A9286E #A9A328 #28A962
square
#282EA9 #A9286E #A9A328 #28A962
split-complementary
#282EA9 #A96228 #6EA928
monochromatic
#111346 #1C2178 #282EA9 #3D44D1 #6F74DD
Accessibility & contrast
On white
10.22
#282EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#282EA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282EA9
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282EA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282EA9 | 1.00 | 10.22 | 2.05 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #282ea9; /* rgb */ color: rgb(40, 46, 169); /* oklch */ color: oklch(39.2% 0.191 271.4);
Tailwind
colors: {
custom: {
50: '#7868c4',
500: '#282ea9',
950: '#000000',
},
}SCSS
$custom: #282ea9; $custom-light: #7868c4; $custom-dark: #000000;
JSON
{
"hex": "#282ea9",
"rgb": {
"r": 40,
"g": 46,
"b": 169
},
"hsl": {
"h": 237.209,
"s": 61.722,
"l": 40.98
},
"oklch": {
"l": 0.39183,
"c": 0.19088,
"h": 271.4
},
"luminance": 0.0527
}Semantic roles & 50–950 ramp
primary
#282EA9
secondary
#C4BF69
accent
#DD43E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82