#281D84#281D84
#281D84 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.162 H 277.4°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).
Color values
| HEX | #281D84 |
|---|---|
| RGB | rgb(40, 29, 132) |
| HSL | hsl(246, 64%, 32%) |
| HSV | hsv(246, 78%, 52%) |
| CMYK | cmyk(69.7%, 78%, 0%, 48.2%) |
| CIE-LAB | lab(20.03, 37.85, -55.45) |
| CIE-LCH | lch(20.03, 67.14, 304.32°) |
| OKLab | oklab(32.71% 0.0208 -0.1602) |
| OKLCH | oklch(32.71% 0.162 277.4) |
| XYZ | xyz(5.4779, 2.9953, 22.1148) |
| Luminance | 0.0300 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.12
Midnight Blue
#191970
ΔE00 3.56
Indigo (survey)
#380282
ΔE00 4.95
Darkblue
#00008B
ΔE00 5.35
Navy
#000080
ΔE00 5.62
Cobalt Blue
#030AA7
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281D84 #79841D
analogous
#1D4684 #281D84 #5C1D84
triadic
#281D84 #84281D #1D8428
tetradic
#281D84 #841D46 #79841D #1D845C
square
#281D84 #841D46 #79841D #1D845C
split-complementary
#281D84 #845C1D #46841D
monochromatic
#0A0720 #191252 #281D84 #3728B6 #5545D6
Accessibility & contrast
On white
13.13
#281D84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#281D84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281D84
13.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281D84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281D84 | 1.00 | 13.13 | 1.60 | 13.13 |
| #FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003587
Deuteranopia (green-blind)
#002C82
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #281d84; /* rgb */ color: rgb(40, 29, 132); /* oklch */ color: oklch(32.7% 0.162 277.4);
Tailwind
colors: {
custom: {
50: '#705ba9',
500: '#281d84',
950: '#000000',
},
}SCSS
$custom: #281d84; $custom-light: #705ba9; $custom-dark: #000000;
JSON
{
"hex": "#281d84",
"rgb": {
"r": 40,
"g": 29,
"b": 132
},
"hsl": {
"h": 246.408,
"s": 63.975,
"l": 31.569
},
"oklch": {
"l": 0.3271,
"c": 0.16155,
"h": 277.4
},
"luminance": 0.02996
}Semantic roles & 50–950 ramp
primary
#281D84
secondary
#ABB746
accent
#E741D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F