#282977#282977
#282977 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.130 H 276.2°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).
Color values
| HEX | #282977 |
|---|---|
| RGB | rgb(40, 41, 119) |
| HSL | hsl(239, 50%, 31%) |
| HSV | hsv(239, 66%, 47%) |
| CMYK | cmyk(66.4%, 65.5%, 0%, 53.3%) |
| CIE-LAB | lab(21.46, 25.83, -44.84) |
| CIE-LCH | lch(21.46, 51.75, 299.94°) |
| OKLab | oklab(33.35% 0.014 -0.1292) |
| OKLCH | oklch(33.35% 0.13 276.2) |
| XYZ | xyz(4.9967, 3.3685, 17.8361) |
| Luminance | 0.0337 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.43
Royal
#0C1793
ΔE00 6.87
Darkslateblue
#483D8B
ΔE00 7.10
Marine
#042E60
ΔE00 7.85
Blueberry
#464196
ΔE00 8.21
Sapphire (survey)
#2138AB
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282977 #777628
analogous
#285077 #282977 #4E2877
triadic
#282977 #772829 #297728
tetradic
#282977 #772850 #777628 #28774E
square
#282977 #772850 #777628 #28774E
split-complementary
#282977 #774E28 #507728
monochromatic
#09091B #191949 #282977 #3739A5 #5455C5
Accessibility & contrast
On white
12.55
#282977 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#282977 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282977
12.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282977 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282977 | 1.00 | 12.55 | 1.67 | 12.55 |
| #FFFFFF | 12.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00377A
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #282977; /* rgb */ color: rgb(40, 41, 119); /* oklch */ color: oklch(33.4% 0.130 276.2);
Tailwind
colors: {
custom: {
50: '#6c639f',
500: '#282977',
950: '#000000',
},
}SCSS
$custom: #282977; $custom-light: #6c639f; $custom-dark: #000000;
JSON
{
"hex": "#282977",
"rgb": {
"r": 40,
"g": 41,
"b": 119
},
"hsl": {
"h": 239.241,
"s": 49.686,
"l": 31.176
},
"oklch": {
"l": 0.33351,
"c": 0.12996,
"h": 276.2
},
"luminance": 0.03369
}Semantic roles & 50–950 ramp
primary
#282977
secondary
#A9A852
accent
#D74FD9
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#08050E
muted
#7B797E