#282C75#282C75
#282C75 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.123 H 275.3°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).
Color values
| HEX | #282C75 |
|---|---|
| RGB | rgb(40, 44, 117) |
| HSL | hsl(237, 49%, 31%) |
| HSV | hsv(237, 66%, 46%) |
| CMYK | cmyk(65.8%, 62.4%, 0%, 54.1%) |
| CIE-LAB | lab(22.08, 23.05, -42.56) |
| CIE-LCH | lch(22.08, 48.40, 298.44°) |
| OKLab | oklab(33.75% 0.0113 -0.1225) |
| OKLCH | oklch(33.75% 0.123 275.3) |
| XYZ | xyz(4.9856, 3.5364, 17.2460) |
| Luminance | 0.0354 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.41
Darkslateblue
#483D8B
ΔE00 6.81
Marine
#042E60
ΔE00 7.01
Royal
#0C1793
ΔE00 7.90
Blueberry
#464196
ΔE00 7.90
Sapphire (survey)
#2138AB
ΔE00 8.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282C75 #757128
analogous
#285275 #282C75 #4A2875
triadic
#282C75 #75282C #2C7528
tetradic
#282C75 #752852 #757128 #28754A
square
#282C75 #752852 #757128 #28754A
split-complementary
#282C75 #754A28 #527528
monochromatic
#090A1A #181B47 #282C75 #383DA3 #5359C4
Accessibility & contrast
On white
12.30
#282C75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#282C75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282C75
12.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282C75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282C75 | 1.00 | 12.30 | 1.71 | 12.30 |
| #FFFFFF | 12.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #282c75; /* rgb */ color: rgb(40, 44, 117); /* oklch */ color: oklch(33.7% 0.123 275.3);
Tailwind
colors: {
custom: {
50: '#6c659d',
500: '#282c75',
950: '#000000',
},
}SCSS
$custom: #282c75; $custom-light: #6c659d; $custom-dark: #000000;
JSON
{
"hex": "#282c75",
"rgb": {
"r": 40,
"g": 44,
"b": 117
},
"hsl": {
"h": 236.883,
"s": 49.045,
"l": 30.784
},
"oklch": {
"l": 0.33748,
"c": 0.12301,
"h": 275.3
},
"luminance": 0.03537
}Semantic roles & 50–950 ramp
primary
#282C75
secondary
#A7A352
accent
#D14FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E