#282EA0#282EA0
#282EA0 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.179 H 271.9°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).
Color values
| HEX | #282EA0 |
|---|---|
| RGB | rgb(40, 46, 160) |
| HSL | hsl(237, 60%, 39%) |
| HSV | hsv(237, 75%, 63%) |
| CMYK | cmyk(75%, 71.2%, 0%, 37.3%) |
| CIE-LAB | lab(26.57, 37.40, -61.99) |
| CIE-LCH | lch(26.57, 72.40, 301.10°) |
| OKLab | oklab(38.25% 0.006 -0.1794) |
| OKLCH | oklch(38.25% 0.179 271.9) |
| XYZ | xyz(8.1951, 4.9423, 33.7730) |
| Luminance | 0.0494 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.25
Indigo Blue
#3A18B1
ΔE00 5.65
Royal
#0C1793
ΔE00 5.73
Blueberry
#464196
ΔE00 6.54
Cobalt Blue
#030AA7
ΔE00 6.90
Darkslateblue
#483D8B
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282EA0 #A09A28
analogous
#286AA0 #282EA0 #5E28A0
triadic
#282EA0 #A0282E #2EA028
tetradic
#282EA0 #A0286A #A09A28 #28A05E
square
#282EA0 #A0286A #A09A28 #28A05E
split-complementary
#282EA0 #A05E28 #6AA028
monochromatic
#10123E #1C206F #282EA0 #383FCD #696FD9
Accessibility & contrast
On white
10.56
#282EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#282EA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282EA0
10.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282EA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282EA0 | 1.00 | 10.56 | 1.99 | 10.56 |
| #FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #282ea0; /* rgb */ color: rgb(40, 46, 160); /* oklch */ color: oklch(38.3% 0.179 271.9);
Tailwind
colors: {
custom: {
50: '#7567bd',
500: '#282ea0',
950: '#000000',
},
}SCSS
$custom: #282ea0; $custom-light: #7567bd; $custom-dark: #000000;
JSON
{
"hex": "#282ea0",
"rgb": {
"r": 40,
"g": 46,
"b": 160
},
"hsl": {
"h": 237,
"s": 60,
"l": 39.216
},
"oklch": {
"l": 0.3825,
"c": 0.17946,
"h": 271.9
},
"luminance": 0.04943
}Semantic roles & 50–950 ramp
primary
#282EA0
secondary
#C0BB64
accent
#DB45E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81