#281B80#281B80
#281B80 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.158 H 278.3°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).
Color values
| HEX | #281B80 |
|---|---|
| RGB | rgb(40, 27, 128) |
| HSL | hsl(248, 65%, 30%) |
| HSV | hsv(248, 79%, 50%) |
| CMYK | cmyk(68.8%, 78.9%, 0%, 49.8%) |
| CIE-LAB | lab(19.20, 37.64, -54.29) |
| CIE-LCH | lch(19.20, 66.07, 304.74°) |
| OKLab | oklab(32% 0.023 -0.1568) |
| OKLCH | oklch(32% 0.158 278.3) |
| XYZ | xyz(5.1620, 2.7931, 20.6850) |
| Luminance | 0.0279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.07
Royal
#0C1793
ΔE00 3.47
Indigo (survey)
#380282
ΔE00 4.60
Darkblue
#00008B
ΔE00 5.17
Navy
#000080
ΔE00 5.26
Dark Royal Blue
#02066F
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281B80 #73801B
analogous
#1B4080 #281B80 #5A1B80
triadic
#281B80 #80281B #1B8028
tetradic
#281B80 #801B40 #73801B #1B805A
square
#281B80 #801B40 #73801B #1B805A
split-complementary
#281B80 #805A1B #40801B
monochromatic
#08061B #18104D #281B80 #3826B3 #523FD6
Accessibility & contrast
On white
13.47
#281B80 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#281B80 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281B80
13.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281B80 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281B80 | 1.00 | 13.47 | 1.56 | 13.47 |
| #FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003283
Deuteranopia (green-blind)
#002A7E
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #281b80; /* rgb */ color: rgb(40, 27, 128); /* oklch */ color: oklch(32.0% 0.158 278.3);
Tailwind
colors: {
custom: {
50: '#705aa6',
500: '#281b80',
950: '#000000',
},
}SCSS
$custom: #281b80; $custom-light: #705aa6; $custom-dark: #000000;
JSON
{
"hex": "#281b80",
"rgb": {
"r": 40,
"g": 27,
"b": 128
},
"hsl": {
"h": 247.723,
"s": 65.161,
"l": 30.392
},
"oklch": {
"l": 0.31995,
"c": 0.15848,
"h": 278.3
},
"luminance": 0.02793
}Semantic roles & 50–950 ramp
primary
#281B80
secondary
#A5B443
accent
#E840D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F