#282AAA#282AAA
#282AAA is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.196 H 271.9°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #282AAA |
|---|---|
| RGB | rgb(40, 42, 170) |
| HSL | hsl(239, 62%, 41%) |
| HSV | hsv(239, 76%, 67%) |
| CMYK | cmyk(76.5%, 75.3%, 0%, 33.3%) |
| CIE-LAB | lab(26.76, 43.22, -67.73) |
| CIE-LCH | lch(26.76, 80.34, 302.55°) |
| OKLab | oklab(38.7% 0.0064 -0.196) |
| OKLCH | oklch(38.7% 0.196 271.9) |
| XYZ | xyz(8.9563, 5.0084, 38.5171) |
| Luminance | 0.0501 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.03
Indigo Blue
#3A18B1
ΔE00 4.09
Royal
#0C1793
ΔE00 5.50
True Blue
#010FCC
ΔE00 5.55
Cobalt Blue
#030AA7
ΔE00 5.82
Ultramarine
#2000B1
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282AAA #AAA828
analogous
#286BAA #282AAA #6728AA
triadic
#282AAA #AA282A #2AAA28
tetradic
#282AAA #AA286B #AAA828 #28AA67
square
#282AAA #AA286B #AAA828 #28AA67
split-complementary
#282AAA #AA6728 #6BAA28
monochromatic
#111247 #1C1E78 #282AAA #3E40D2 #6F71DD
Accessibility & contrast
On white
10.49
#282AAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#282AAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282AAA
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282AAA | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AE
Deuteranopia (green-blind)
#0039A8
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #282aaa; /* rgb */ color: rgb(40, 42, 170); /* oklch */ color: oklch(38.7% 0.196 271.9);
Tailwind
colors: {
custom: {
50: '#7865c5',
500: '#282aaa',
950: '#000000',
},
}SCSS
$custom: #282aaa; $custom-light: #7865c5; $custom-dark: #000000;
JSON
{
"hex": "#282aaa",
"rgb": {
"r": 40,
"g": 42,
"b": 170
},
"hsl": {
"h": 239.077,
"s": 61.905,
"l": 41.176
},
"oklch": {
"l": 0.38696,
"c": 0.19615,
"h": 271.9
},
"luminance": 0.05009
}Semantic roles & 50–950 ramp
primary
#282AAA
secondary
#C4C36A
accent
#E243E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82