#282085#282085
#282085 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.160 H 276.7°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).
Color values
| HEX | #282085 |
|---|---|
| RGB | rgb(40, 32, 133) |
| HSL | hsl(245, 61%, 32%) |
| HSV | hsv(245, 76%, 52%) |
| CMYK | cmyk(69.9%, 75.9%, 0%, 47.8%) |
| CIE-LAB | lab(20.74, 36.47, -54.90) |
| CIE-LCH | lch(20.74, 65.91, 303.60°) |
| OKLab | oklab(33.25% 0.0188 -0.1586) |
| OKLCH | oklch(33.25% 0.16 276.7) |
| XYZ | xyz(5.6238, 3.1771, 22.5026) |
| Luminance | 0.0318 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.35
Midnight Blue
#191970
ΔE00 3.77
Indigo (survey)
#380282
ΔE00 5.63
Darkblue
#00008B
ΔE00 5.96
Cobalt Blue
#030AA7
ΔE00 6.02
Navy
#000080
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282085 #7D8520
analogous
#204B85 #282085 #5A2085
triadic
#282085 #852820 #208528
tetradic
#282085 #85204B #7D8520 #20855A
square
#282085 #85204B #7D8520 #20855A
split-complementary
#282085 #855A20 #4B8520
monochromatic
#0A0822 #191454 #282085 #372CB6 #564CD4
Accessibility & contrast
On white
12.84
#282085 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#282085 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282085
12.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282085 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282085 | 1.00 | 12.84 | 1.64 | 12.84 |
| #FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #282085; /* rgb */ color: rgb(40, 32, 133); /* oklch */ color: oklch(33.2% 0.160 276.7);
Tailwind
colors: {
custom: {
50: '#705daa',
500: '#282085',
950: '#000000',
},
}SCSS
$custom: #282085; $custom-light: #705daa; $custom-dark: #000000;
JSON
{
"hex": "#282085",
"rgb": {
"r": 40,
"g": 32,
"b": 133
},
"hsl": {
"h": 244.752,
"s": 61.212,
"l": 32.353
},
"oklch": {
"l": 0.33247,
"c": 0.15975,
"h": 276.7
},
"luminance": 0.03178
}Semantic roles & 50–950 ramp
primary
#282085
secondary
#AEB74A
accent
#E443D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F