#282C9A#282C9A
#282C9A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.174 H 272.6°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).
Color values
| HEX | #282C9A |
|---|---|
| RGB | rgb(40, 44, 154) |
| HSL | hsl(238, 59%, 38%) |
| HSV | hsv(238, 74%, 60%) |
| CMYK | cmyk(74%, 71.4%, 0%, 39.6%) |
| CIE-LAB | lab(25.52, 36.51, -60.06) |
| CIE-LCH | lch(25.52, 70.29, 301.30°) |
| OKLab | oklab(37.31% 0.0079 -0.1737) |
| OKLCH | oklch(37.31% 0.174 272.6) |
| XYZ | xyz(7.6065, 4.5848, 31.0497) |
| Luminance | 0.0459 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.07
Royal
#0C1793
ΔE00 5.10
Indigo Blue
#3A18B1
ΔE00 5.77
Cobalt Blue
#030AA7
ΔE00 6.63
Blueberry
#464196
ΔE00 6.77
Darkslateblue
#483D8B
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282C9A #9A9628
analogous
#28659A #282C9A #5D289A
triadic
#282C9A #9A282C #2C9A28
tetradic
#282C9A #9A2865 #9A9628 #289A5D
square
#282C9A #9A2865 #9A9628 #289A5D
split-complementary
#282C9A #9A5D28 #659A28
monochromatic
#0F1039 #1B1E69 #282C9A #353ACA #6569D7
Accessibility & contrast
On white
10.95
#282C9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#282C9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282C9A
10.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282C9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282C9A | 1.00 | 10.95 | 1.92 | 10.95 |
| #FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #282c9a; /* rgb */ color: rgb(40, 44, 154); /* oklch */ color: oklch(37.3% 0.174 272.6);
Tailwind
colors: {
custom: {
50: '#7466b9',
500: '#282c9a',
950: '#000000',
},
}SCSS
$custom: #282c9a; $custom-light: #7466b9; $custom-dark: #000000;
JSON
{
"hex": "#282c9a",
"rgb": {
"r": 40,
"g": 44,
"b": 154
},
"hsl": {
"h": 237.895,
"s": 58.763,
"l": 38.039
},
"oklch": {
"l": 0.37312,
"c": 0.17391,
"h": 272.6
},
"luminance": 0.04586
}Semantic roles & 50–950 ramp
primary
#282C9A
secondary
#BDBA61
accent
#DC46E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81