#282C7D#282C7D
#282C7D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.135 H 274.7°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).
Color values
| HEX | #282C7D |
|---|---|
| RGB | rgb(40, 44, 125) |
| HSL | hsl(237, 52%, 32%) |
| HSV | hsv(237, 68%, 49%) |
| CMYK | cmyk(68%, 64.8%, 0%, 51%) |
| CIE-LAB | lab(22.77, 26.01, -46.53) |
| CIE-LCH | lch(22.77, 53.31, 299.21°) |
| OKLab | oklab(34.47% 0.011 -0.1341) |
| OKLCH | oklch(34.47% 0.135 274.7) |
| XYZ | xyz(5.4762, 3.7327, 19.8299) |
| Luminance | 0.0373 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.30
Darkslateblue
#483D8B
ΔE00 6.45
Royal
#0C1793
ΔE00 6.81
Blueberry
#464196
ΔE00 7.30
Sapphire (survey)
#2138AB
ΔE00 7.31
Marine
#042E60
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282C7D #7D7928
analogous
#28577D #282C7D #4E287D
triadic
#282C7D #7D282C #2C7D28
tetradic
#282C7D #7D2857 #7D7928 #287D4E
square
#282C7D #7D2857 #7D7928 #287D4E
split-complementary
#282C7D #7D4E28 #577D28
monochromatic
#0A0B20 #191C4F #282C7D #373CAB #565CC9
Accessibility & contrast
On white
12.02
#282C7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#282C7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282C7D
12.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282C7D | 1.00 | 12.02 | 1.75 | 12.02 |
| #FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #282c7d; /* rgb */ color: rgb(40, 44, 125); /* oklch */ color: oklch(34.5% 0.135 274.7);
Tailwind
colors: {
custom: {
50: '#6d65a3',
500: '#282c7d',
950: '#000000',
},
}SCSS
$custom: #282c7d; $custom-light: #6d65a3; $custom-dark: #000000;
JSON
{
"hex": "#282c7d",
"rgb": {
"r": 40,
"g": 44,
"b": 125
},
"hsl": {
"h": 237.176,
"s": 51.515,
"l": 32.353
},
"oklch": {
"l": 0.34473,
"c": 0.13457,
"h": 274.7
},
"luminance": 0.03733
}Semantic roles & 50–950 ramp
primary
#282C7D
secondary
#AEAA53
accent
#D44DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F