#282D7E#282D7E
#282D7E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.135 H 274.3°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).
Color values
| HEX | #282D7E |
|---|---|
| RGB | rgb(40, 45, 126) |
| HSL | hsl(237, 52%, 33%) |
| HSV | hsv(237, 68%, 49%) |
| CMYK | cmyk(68.3%, 64.3%, 0%, 50.6%) |
| CIE-LAB | lab(23.11, 25.71, -46.59) |
| CIE-LCH | lch(23.11, 53.22, 298.89°) |
| OKLab | oklab(34.76% 0.01 -0.1343) |
| OKLCH | oklch(34.76% 0.135 274.3) |
| XYZ | xyz(5.5781, 3.8338, 20.1806) |
| Luminance | 0.0383 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.60
Darkslateblue
#483D8B
ΔE00 6.29
Royal
#0C1793
ΔE00 6.96
Blueberry
#464196
ΔE00 7.07
Sapphire (survey)
#2138AB
ΔE00 7.07
Marine
#042E60
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282D7E #7E7928
analogous
#28587E #282D7E #4E287E
triadic
#282D7E #7E282D #2D7E28
tetradic
#282D7E #7E2858 #7E7928 #287E4E
square
#282D7E #7E2858 #7E7928 #287E4E
split-complementary
#282D7E #7E4E28 #587E28
monochromatic
#0B0C21 #191C50 #282D7E #373EAC #575DCA
Accessibility & contrast
On white
11.89
#282D7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#282D7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282D7E
11.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282D7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282D7E | 1.00 | 11.89 | 1.77 | 11.89 |
| #FFFFFF | 11.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #282d7e; /* rgb */ color: rgb(40, 45, 126); /* oklch */ color: oklch(34.8% 0.135 274.3);
Tailwind
colors: {
custom: {
50: '#6d66a4',
500: '#282d7e',
950: '#000000',
},
}SCSS
$custom: #282d7e; $custom-light: #6d66a4; $custom-dark: #000000;
JSON
{
"hex": "#282d7e",
"rgb": {
"r": 40,
"g": 45,
"b": 126
},
"hsl": {
"h": 236.512,
"s": 51.807,
"l": 32.549
},
"oklch": {
"l": 0.34755,
"c": 0.13468,
"h": 274.3
},
"luminance": 0.03834
}Semantic roles & 50–950 ramp
primary
#282D7E
secondary
#AFA953
accent
#D34DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F