#282F86#282F86
#282F86 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.143 H 273.2°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).
Color values
| HEX | #282F86 |
|---|---|
| RGB | rgb(40, 47, 134) |
| HSL | hsl(236, 54%, 34%) |
| HSV | hsv(236, 70%, 53%) |
| CMYK | cmyk(70.1%, 64.9%, 0%, 47.5%) |
| CIE-LAB | lab(24.34, 27.33, -49.62) |
| CIE-LCH | lch(24.34, 56.65, 298.85°) |
| OKLab | oklab(35.87% 0.0079 -0.1432) |
| OKLCH | oklch(35.87% 0.143 273.2) |
| XYZ | xyz(6.1932, 4.2048, 23.0349) |
| Luminance | 0.0420 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.75
Darkslateblue
#483D8B
ΔE00 5.94
Blueberry
#464196
ΔE00 6.32
Midnight Blue
#191970
ΔE00 6.40
Royal
#0C1793
ΔE00 6.71
Marine
#042E60
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282F86 #867F28
analogous
#285E86 #282F86 #502886
triadic
#282F86 #86282F #2F8628
tetradic
#282F86 #86285E #867F28 #288650
square
#282F86 #86285E #867F28 #288650
split-complementary
#282F86 #865028 #5E8628
monochromatic
#0C0E28 #1A1E57 #282F86 #3640B5 #5B63CE
Accessibility & contrast
On white
11.41
#282F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#282F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282F86
11.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282F86 | 1.00 | 11.41 | 1.84 | 11.41 |
| #FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #282f86; /* rgb */ color: rgb(40, 47, 134); /* oklch */ color: oklch(35.9% 0.143 273.2);
Tailwind
colors: {
custom: {
50: '#6f67aa',
500: '#282f86',
950: '#000000',
},
}SCSS
$custom: #282f86; $custom-light: #6f67aa; $custom-dark: #000000;
JSON
{
"hex": "#282f86",
"rgb": {
"r": 40,
"g": 47,
"b": 134
},
"hsl": {
"h": 235.532,
"s": 54.023,
"l": 34.118
},
"oklch": {
"l": 0.35874,
"c": 0.14341,
"h": 273.2
},
"luminance": 0.04205
}Semantic roles & 50–950 ramp
primary
#282F86
secondary
#B3AC57
accent
#D24ADD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F