#282C76#282C76
#282C76 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.8% C 0.124 H 275.2°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).
Color values
| HEX | #282C76 |
|---|---|
| RGB | rgb(40, 44, 118) |
| HSL | hsl(237, 49%, 31%) |
| HSV | hsv(237, 66%, 46%) |
| CMYK | cmyk(66.1%, 62.7%, 0%, 53.7%) |
| CIE-LAB | lab(22.16, 23.42, -43.06) |
| CIE-LCH | lch(22.16, 49.02, 298.54°) |
| OKLab | oklab(33.84% 0.0112 -0.124) |
| OKLCH | oklch(33.84% 0.124 275.2) |
| XYZ | xyz(5.0447, 3.5601, 17.5573) |
| Luminance | 0.0356 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.37
Darkslateblue
#483D8B
ΔE00 6.75
Marine
#042E60
ΔE00 7.09
Royal
#0C1793
ΔE00 7.75
Blueberry
#464196
ΔE00 7.81
Sapphire (survey)
#2138AB
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282C76 #767228
analogous
#285376 #282C76 #4B2876
triadic
#282C76 #76282C #2C7628
tetradic
#282C76 #762853 #767228 #28764B
square
#282C76 #762853 #767228 #28764B
split-complementary
#282C76 #764B28 #537628
monochromatic
#090A1B #191B48 #282C76 #373DA4 #5459C5
Accessibility & contrast
On white
12.27
#282C76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#282C76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282C76
12.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282C76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282C76 | 1.00 | 12.27 | 1.71 | 12.27 |
| #FFFFFF | 12.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #282c76; /* rgb */ color: rgb(40, 44, 118); /* oklch */ color: oklch(33.8% 0.124 275.2);
Tailwind
colors: {
custom: {
50: '#6c659e',
500: '#282c76',
950: '#000000',
},
}SCSS
$custom: #282c76; $custom-light: #6c659e; $custom-dark: #000000;
JSON
{
"hex": "#282c76",
"rgb": {
"r": 40,
"g": 44,
"b": 118
},
"hsl": {
"h": 236.923,
"s": 49.367,
"l": 30.98
},
"oklch": {
"l": 0.33837,
"c": 0.12447,
"h": 275.2
},
"luminance": 0.0356
}Semantic roles & 50–950 ramp
primary
#282C76
secondary
#A8A452
accent
#D24FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E