#282C79#282C79
#282C79 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.129 H 275.0°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).
Color values
| HEX | #282C79 |
|---|---|
| RGB | rgb(40, 44, 121) |
| HSL | hsl(237, 50%, 32%) |
| HSV | hsv(237, 67%, 47%) |
| CMYK | cmyk(66.9%, 63.6%, 0%, 52.5%) |
| CIE-LAB | lab(22.42, 24.53, -44.56) |
| CIE-LCH | lch(22.42, 50.87, 298.84°) |
| OKLab | oklab(34.11% 0.0111 -0.1283) |
| OKLCH | oklch(34.11% 0.129 275) |
| XYZ | xyz(5.2258, 3.6325, 18.5112) |
| Luminance | 0.0363 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.30
Darkslateblue
#483D8B
ΔE00 6.60
Royal
#0C1793
ΔE00 7.33
Marine
#042E60
ΔE00 7.37
Blueberry
#464196
ΔE00 7.57
Sapphire (survey)
#2138AB
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282C79 #797528
analogous
#285579 #282C79 #4D2879
triadic
#282C79 #79282C #2C7928
tetradic
#282C79 #792855 #797528 #28794D
square
#282C79 #792855 #797528 #28794D
split-complementary
#282C79 #794D28 #557928
monochromatic
#0A0B1D #191B4B #282C79 #373DA7 #555AC7
Accessibility & contrast
On white
12.16
#282C79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#282C79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282C79
12.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282C79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282C79 | 1.00 | 12.16 | 1.73 | 12.16 |
| #FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #282c79; /* rgb */ color: rgb(40, 44, 121); /* oklch */ color: oklch(34.1% 0.129 275.0);
Tailwind
colors: {
custom: {
50: '#6c65a0',
500: '#282c79',
950: '#000000',
},
}SCSS
$custom: #282c79; $custom-light: #6c65a0; $custom-dark: #000000;
JSON
{
"hex": "#282c79",
"rgb": {
"r": 40,
"g": 44,
"b": 121
},
"hsl": {
"h": 237.037,
"s": 50.311,
"l": 31.569
},
"oklch": {
"l": 0.34107,
"c": 0.12883,
"h": 275
},
"luminance": 0.03633
}Semantic roles & 50–950 ramp
primary
#282C79
secondary
#ABA752
accent
#D34EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050F
muted
#7A7A7E