#281A85#281A85
#281A85 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.166 H 277.7°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).
Color values
| HEX | #281A85 |
|---|---|
| RGB | rgb(40, 26, 133) |
| HSL | hsl(248, 67%, 31%) |
| HSV | hsv(248, 80%, 52%) |
| CMYK | cmyk(69.9%, 80.5%, 0%, 47.8%) |
| CIE-LAB | lab(19.57, 39.81, -56.84) |
| CIE-LCH | lch(19.57, 69.39, 305.01°) |
| OKLab | oklab(32.42% 0.0222 -0.1642) |
| OKLCH | oklch(32.42% 0.166 277.7) |
| XYZ | xyz(5.4767, 2.8829, 22.4536) |
| Luminance | 0.0288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.82
Midnight Blue
#191970
ΔE00 3.76
Indigo (survey)
#380282
ΔE00 4.32
Darkblue
#00008B
ΔE00 4.72
Navy
#000080
ΔE00 5.04
Cobalt Blue
#030AA7
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281A85 #77851A
analogous
#1A4185 #281A85 #5D1A85
triadic
#281A85 #85281A #1A8528
tetradic
#281A85 #851A41 #77851A #1A855D
square
#281A85 #851A41 #77851A #1A855D
split-complementary
#281A85 #855D1A #41851A
monochromatic
#09061F #191052 #281A85 #3724B8 #5440DA
Accessibility & contrast
On white
13.32
#281A85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#281A85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281A85
13.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281A85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281A85 | 1.00 | 13.32 | 1.58 | 13.32 |
| #FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002B83
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #281a85; /* rgb */ color: rgb(40, 26, 133); /* oklch */ color: oklch(32.4% 0.166 277.7);
Tailwind
colors: {
custom: {
50: '#715aaa',
500: '#281a85',
950: '#000000',
},
}SCSS
$custom: #281a85; $custom-light: #715aaa; $custom-dark: #000000;
JSON
{
"hex": "#281a85",
"rgb": {
"r": 40,
"g": 26,
"b": 133
},
"hsl": {
"h": 247.85,
"s": 67.296,
"l": 31.176
},
"oklch": {
"l": 0.32423,
"c": 0.1657,
"h": 277.7
},
"luminance": 0.02883
}Semantic roles & 50–950 ramp
primary
#281A85
secondary
#A9B842
accent
#EA3ED4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F