#282C99#282C99
#282C99 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.173 H 272.7°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).
Color values
| HEX | #282C99 |
|---|---|
| RGB | rgb(40, 44, 153) |
| HSL | hsl(238, 59%, 38%) |
| HSV | hsv(238, 74%, 60%) |
| CMYK | cmyk(73.9%, 71.2%, 0%, 40%) |
| CIE-LAB | lab(25.42, 36.16, -59.61) |
| CIE-LCH | lch(25.42, 69.72, 301.24°) |
| OKLab | oklab(37.21% 0.0081 -0.1724) |
| OKLCH | oklch(37.21% 0.173 272.7) |
| XYZ | xyz(7.5236, 4.5516, 30.6129) |
| Luminance | 0.0455 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.14
Royal
#0C1793
ΔE00 5.09
Indigo Blue
#3A18B1
ΔE00 5.87
Cobalt Blue
#030AA7
ΔE00 6.68
Blueberry
#464196
ΔE00 6.76
Darkslateblue
#483D8B
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282C99 #999528
analogous
#286499 #282C99 #5C2899
triadic
#282C99 #99282C #2C9928
tetradic
#282C99 #992864 #999528 #28995C
square
#282C99 #992864 #999528 #28995C
split-complementary
#282C99 #995C28 #649928
monochromatic
#0F1038 #1B1E68 #282C99 #353ACA #6569D7
Accessibility & contrast
On white
10.99
#282C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#282C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282C99
10.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282C99 | 1.00 | 10.99 | 1.91 | 10.99 |
| #FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #282c99; /* rgb */ color: rgb(40, 44, 153); /* oklch */ color: oklch(37.2% 0.173 272.7);
Tailwind
colors: {
custom: {
50: '#7466b8',
500: '#282c99',
950: '#000000',
},
}SCSS
$custom: #282c99; $custom-light: #7466b8; $custom-dark: #000000;
JSON
{
"hex": "#282c99",
"rgb": {
"r": 40,
"g": 44,
"b": 153
},
"hsl": {
"h": 237.876,
"s": 58.549,
"l": 37.843
},
"oklch": {
"l": 0.37209,
"c": 0.17262,
"h": 272.7
},
"luminance": 0.04552
}Semantic roles & 50–950 ramp
primary
#282C99
secondary
#BDB960
accent
#DC46E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80