#281684#281684
#281684 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.168 H 278.4°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).
Color values
| HEX | #281684 |
|---|---|
| RGB | rgb(40, 22, 132) |
| HSL | hsl(250, 71%, 30%) |
| HSV | hsv(250, 83%, 52%) |
| CMYK | cmyk(69.7%, 83.3%, 0%, 48.2%) |
| CIE-LAB | lab(18.76, 41.51, -57.54) |
| CIE-LCH | lch(18.76, 70.95, 305.80°) |
| OKLab | oklab(31.83% 0.0245 -0.1662) |
| OKLCH | oklch(31.83% 0.168 278.4) |
| XYZ | xyz(5.3255, 2.6904, 22.0640) |
| Luminance | 0.0269 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.91
Indigo (survey)
#380282
ΔE00 3.61
Midnight Blue
#191970
ΔE00 3.88
Darkblue
#00008B
ΔE00 4.09
Navy
#000080
ΔE00 4.36
Deep Blue
#040273
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281684 #728416
analogous
#163B84 #281684 #5F1684
triadic
#281684 #842816 #168428
tetradic
#281684 #84163B #728416 #16845F
square
#281684 #84163B #728416 #16845F
split-complementary
#281684 #845F16 #3B8416
monochromatic
#08051B #180D50 #281684 #381FB8 #5237DE
Accessibility & contrast
On white
13.65
#281684 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#281684 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281684
13.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281684 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281684 | 1.00 | 13.65 | 1.54 | 13.65 |
| #FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003287
Deuteranopia (green-blind)
#002982
Tritanopia (blue-blind)
#00384E
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #281684; /* rgb */ color: rgb(40, 22, 132); /* oklch */ color: oklch(31.8% 0.168 278.4);
Tailwind
colors: {
custom: {
50: '#7157a9',
500: '#281684',
950: '#000000',
},
}SCSS
$custom: #281684; $custom-light: #7157a9; $custom-dark: #000000;
JSON
{
"hex": "#281684",
"rgb": {
"r": 40,
"g": 22,
"b": 132
},
"hsl": {
"h": 249.818,
"s": 71.429,
"l": 30.196
},
"oklch": {
"l": 0.31826,
"c": 0.168,
"h": 278.4
},
"luminance": 0.02691
}Semantic roles & 50–950 ramp
primary
#281684
secondary
#A4B83D
accent
#EE3AD1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F