#282C8D#282C8D
#282C8D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.157 H 273.5°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).
Color values
| HEX | #282C8D |
|---|---|
| RGB | rgb(40, 44, 141) |
| HSL | hsl(238, 56%, 35%) |
| HSV | hsv(238, 72%, 55%) |
| CMYK | cmyk(71.6%, 68.8%, 0%, 44.7%) |
| CIE-LAB | lab(24.24, 31.87, -54.14) |
| CIE-LCH | lch(24.24, 62.83, 300.48°) |
| OKLab | oklab(36% 0.0096 -0.1564) |
| OKLCH | oklch(36% 0.157 273.5) |
| XYZ | xyz(6.5819, 4.1749, 25.6531) |
| Luminance | 0.0418 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.26
Royal
#0C1793
ΔE00 5.36
Midnight Blue
#191970
ΔE00 6.20
Darkslateblue
#483D8B
ΔE00 6.47
Blueberry
#464196
ΔE00 6.71
Indigo Blue
#3A18B1
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282C8D #8D8928
analogous
#285E8D #282C8D #56288D
triadic
#282C8D #8D282C #2C8D28
tetradic
#282C8D #8D285E #8D8928 #288D56
square
#282C8D #8D285E #8D8928 #288D56
split-complementary
#282C8D #8D5628 #5E8D28
monochromatic
#0D0E2E #1A1D5D #282C8D #363BBD #5E63D1
Accessibility & contrast
On white
11.44
#282C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#282C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282C8D
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282C8D | 1.00 | 11.44 | 1.84 | 11.44 |
| #FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #282c8d; /* rgb */ color: rgb(40, 44, 141); /* oklch */ color: oklch(36.0% 0.157 273.5);
Tailwind
colors: {
custom: {
50: '#7165af',
500: '#282c8d',
950: '#000000',
},
}SCSS
$custom: #282c8d; $custom-light: #7165af; $custom-dark: #000000;
JSON
{
"hex": "#282c8d",
"rgb": {
"r": 40,
"g": 44,
"b": 141
},
"hsl": {
"h": 237.624,
"s": 55.801,
"l": 35.49
},
"oklch": {
"l": 0.36003,
"c": 0.15674,
"h": 273.5
},
"luminance": 0.04176
}Semantic roles & 50–950 ramp
primary
#282C8D
secondary
#B7B35A
accent
#D949DF
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F