#282086#282086
#282086 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.161 H 276.6°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).
Color values
| HEX | #282086 |
|---|---|
| RGB | rgb(40, 32, 134) |
| HSL | hsl(245, 61%, 33%) |
| HSV | hsv(245, 76%, 53%) |
| CMYK | cmyk(70.1%, 76.1%, 0%, 47.5%) |
| CIE-LAB | lab(20.85, 36.81, -55.35) |
| CIE-LCH | lch(20.85, 66.48, 303.63°) |
| OKLab | oklab(33.35% 0.0186 -0.16) |
| OKLCH | oklch(33.35% 0.161 276.6) |
| XYZ | xyz(5.6933, 3.2049, 22.8682) |
| Luminance | 0.0321 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.25
Midnight Blue
#191970
ΔE00 3.90
Indigo (survey)
#380282
ΔE00 5.62
Cobalt Blue
#030AA7
ΔE00 5.89
Darkblue
#00008B
ΔE00 5.92
Navy
#000080
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282086 #7E8620
analogous
#204B86 #282086 #5B2086
triadic
#282086 #862820 #208628
tetradic
#282086 #86204B #7E8620 #20865B
square
#282086 #86204B #7E8620 #20865B
split-complementary
#282086 #865B20 #4B8620
monochromatic
#0B0823 #191455 #282086 #372CB7 #574CD4
Accessibility & contrast
On white
12.80
#282086 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#282086 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282086
12.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282086 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282086 | 1.00 | 12.80 | 1.64 | 12.80 |
| #FFFFFF | 12.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #282086; /* rgb */ color: rgb(40, 32, 134); /* oklch */ color: oklch(33.4% 0.161 276.6);
Tailwind
colors: {
custom: {
50: '#715daa',
500: '#282086',
950: '#000000',
},
}SCSS
$custom: #282086; $custom-light: #715daa; $custom-dark: #000000;
JSON
{
"hex": "#282086",
"rgb": {
"r": 40,
"g": 32,
"b": 134
},
"hsl": {
"h": 244.706,
"s": 61.446,
"l": 32.549
},
"oklch": {
"l": 0.33354,
"c": 0.16103,
"h": 276.6
},
"luminance": 0.03205
}Semantic roles & 50–950 ramp
primary
#282086
secondary
#AFB74B
accent
#E543D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F