#282C7E#282C7E
#282C7E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.136 H 274.6°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).
Color values
| HEX | #282C7E |
|---|---|
| RGB | rgb(40, 44, 126) |
| HSL | hsl(237, 52%, 33%) |
| HSV | hsv(237, 68%, 49%) |
| CMYK | cmyk(68.3%, 65.1%, 0%, 50.6%) |
| CIE-LAB | lab(22.86, 26.38, -47.01) |
| CIE-LCH | lch(22.86, 53.91, 299.30°) |
| OKLab | oklab(34.57% 0.0109 -0.1356) |
| OKLCH | oklch(34.57% 0.136 274.6) |
| XYZ | xyz(5.5404, 3.7584, 20.1681) |
| Luminance | 0.0376 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.31
Darkslateblue
#483D8B
ΔE00 6.43
Royal
#0C1793
ΔE00 6.69
Sapphire (survey)
#2138AB
ΔE00 7.16
Blueberry
#464196
ΔE00 7.23
Marine
#042E60
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282C7E #7E7A28
analogous
#28577E #282C7E #4F287E
triadic
#282C7E #7E282C #2C7E28
tetradic
#282C7E #7E2857 #7E7A28 #287E4F
square
#282C7E #7E2857 #7E7A28 #287E4F
split-complementary
#282C7E #7E4F28 #577E28
monochromatic
#0B0C21 #191C50 #282C7E #373CAC #575CCA
Accessibility & contrast
On white
11.99
#282C7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#282C7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282C7E
11.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282C7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282C7E | 1.00 | 11.99 | 1.75 | 11.99 |
| #FFFFFF | 11.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #282c7e; /* rgb */ color: rgb(40, 44, 126); /* oklch */ color: oklch(34.6% 0.136 274.6);
Tailwind
colors: {
custom: {
50: '#6e65a4',
500: '#282c7e',
950: '#000000',
},
}SCSS
$custom: #282c7e; $custom-light: #6e65a4; $custom-dark: #000000;
JSON
{
"hex": "#282c7e",
"rgb": {
"r": 40,
"g": 44,
"b": 126
},
"hsl": {
"h": 237.209,
"s": 51.807,
"l": 32.549
},
"oklch": {
"l": 0.34566,
"c": 0.136,
"h": 274.6
},
"luminance": 0.03759
}Semantic roles & 50–950 ramp
primary
#282C7E
secondary
#AFAA53
accent
#D54DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F