#282EAB#282EAB
#282EAB is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.193 H 271.3°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #282EAB |
|---|---|
| RGB | rgb(40, 46, 171) |
| HSL | hsl(237, 62%, 41%) |
| HSV | hsv(237, 77%, 67%) |
| CMYK | cmyk(76.6%, 73.1%, 0%, 32.9%) |
| CIE-LAB | lab(27.69, 41.24, -66.78) |
| CIE-LCH | lch(27.69, 78.49, 301.70°) |
| OKLab | oklab(39.39% 0.0044 -0.1933) |
| OKLCH | oklch(39.39% 0.193 271.3) |
| XYZ | xyz(9.2003, 5.3444, 39.0669) |
| Luminance | 0.0534 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.05
Indigo Blue
#3A18B1
ΔE00 4.95
True Blue
#010FCC
ΔE00 6.18
Royal
#0C1793
ΔE00 6.32
Blue Blue
#2242C7
ΔE00 6.53
Ocean Blue
#4F42B5
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282EAB #ABA528
analogous
#2870AB #282EAB #6428AB
triadic
#282EAB #AB282E #2EAB28
tetradic
#282EAB #AB2870 #ABA528 #28AB64
square
#282EAB #AB2870 #ABA528 #28AB64
split-complementary
#282EAB #AB6428 #70AB28
monochromatic
#111348 #1C2179 #282EAB #3E45D2 #7075DE
Accessibility & contrast
On white
10.15
#282EAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#282EAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282EAB
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282EAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282EAB | 1.00 | 10.15 | 2.07 | 10.15 |
| #FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#003BA9
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #282eab; /* rgb */ color: rgb(40, 46, 171); /* oklch */ color: oklch(39.4% 0.193 271.3);
Tailwind
colors: {
custom: {
50: '#7868c5',
500: '#282eab',
950: '#000000',
},
}SCSS
$custom: #282eab; $custom-light: #7868c5; $custom-dark: #000000;
JSON
{
"hex": "#282eab",
"rgb": {
"r": 40,
"g": 46,
"b": 171
},
"hsl": {
"h": 237.252,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.39393,
"c": 0.19338,
"h": 271.3
},
"luminance": 0.05345
}Semantic roles & 50–950 ramp
primary
#282EAB
secondary
#C4C06A
accent
#DE43E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82