#282C9E#282C9E
#282C9E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.179 H 272.4°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).
Color values
| HEX | #282C9E |
|---|---|
| RGB | rgb(40, 44, 158) |
| HSL | hsl(238, 60%, 39%) |
| HSV | hsv(238, 75%, 62%) |
| CMYK | cmyk(74.7%, 72.2%, 0%, 38%) |
| CIE-LAB | lab(25.92, 37.92, -61.84) |
| CIE-LCH | lch(25.92, 72.54, 301.52°) |
| OKLab | oklab(37.72% 0.0074 -0.1789) |
| OKLCH | oklch(37.72% 0.179 272.4) |
| XYZ | xyz(7.9452, 4.7203, 32.8335) |
| Luminance | 0.0472 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.83
Royal
#0C1793
ΔE00 5.19
Indigo Blue
#3A18B1
ΔE00 5.38
Cobalt Blue
#030AA7
ΔE00 6.45
Blueberry
#464196
ΔE00 6.87
Royal Blue (survey)
#0504AA
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282C9E #9E9A28
analogous
#28679E #282C9E #5F289E
triadic
#282C9E #9E282C #2C9E28
tetradic
#282C9E #9E2867 #9E9A28 #289E5F
square
#282C9E #9E2867 #9E9A28 #289E5F
split-complementary
#282C9E #9E5F28 #679E28
monochromatic
#0F113C #1C1E6D #282C9E #373CCC #686CD9
Accessibility & contrast
On white
10.80
#282C9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#282C9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282C9E
10.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282C9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282C9E | 1.00 | 10.80 | 1.94 | 10.80 |
| #FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #282c9e; /* rgb */ color: rgb(40, 44, 158); /* oklch */ color: oklch(37.7% 0.179 272.4);
Tailwind
colors: {
custom: {
50: '#7566bc',
500: '#282c9e',
950: '#000000',
},
}SCSS
$custom: #282c9e; $custom-light: #7566bc; $custom-dark: #000000;
JSON
{
"hex": "#282c9e",
"rgb": {
"r": 40,
"g": 44,
"b": 158
},
"hsl": {
"h": 237.966,
"s": 59.596,
"l": 38.824
},
"oklch": {
"l": 0.37724,
"c": 0.17906,
"h": 272.4
},
"luminance": 0.04721
}Semantic roles & 50–950 ramp
primary
#282C9E
secondary
#BFBC63
accent
#DD45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81