#281A9A#281A9A
#281A9A is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.8% C 0.191 H 274.9°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).
Color values
| HEX | #281A9A |
|---|---|
| RGB | rgb(40, 26, 154) |
| HSL | hsl(247, 71%, 35%) |
| HSV | hsv(247, 83%, 60%) |
| CMYK | cmyk(74%, 83.1%, 0%, 39.6%) |
| CIE-LAB | lab(22.02, 46.43, -65.83) |
| CIE-LCH | lch(22.02, 80.56, 305.20°) |
| OKLab | oklab(34.85% 0.0163 -0.1903) |
| OKLCH | oklch(34.85% 0.191 274.9) |
| XYZ | xyz(7.0753, 3.5223, 30.8726) |
| Luminance | 0.0352 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.30
Cobalt Blue
#030AA7
ΔE00 3.07
Royal Blue (survey)
#0504AA
ΔE00 3.55
Indigo Blue
#3A18B1
ΔE00 3.77
Ultramarine
#2000B1
ΔE00 3.91
Darkblue
#00008B
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281A9A #8C9A1A
analogous
#1A4C9A #281A9A #681A9A
triadic
#281A9A #9A281A #1A9A28
tetradic
#281A9A #9A1A4C #8C9A1A #1A9A68
square
#281A9A #9A1A4C #8C9A1A #1A9A68
split-complementary
#281A9A #9A681A #4C9A1A
monochromatic
#0D0831 #1A1166 #281A9A #3623CE #5E4DE1
Accessibility & contrast
On white
12.32
#281A9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#281A9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281A9A
12.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281A9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281A9A | 1.00 | 12.32 | 1.70 | 12.32 |
| #FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A9D
Deuteranopia (green-blind)
#002F98
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #281a9a; /* rgb */ color: rgb(40, 26, 154); /* oklch */ color: oklch(34.8% 0.191 274.9);
Tailwind
colors: {
custom: {
50: '#765bb9',
500: '#281a9a',
950: '#000000',
},
}SCSS
$custom: #281a9a; $custom-light: #765bb9; $custom-dark: #000000;
JSON
{
"hex": "#281a9a",
"rgb": {
"r": 40,
"g": 26,
"b": 154
},
"hsl": {
"h": 246.563,
"s": 71.111,
"l": 35.294
},
"oklch": {
"l": 0.34847,
"c": 0.19103,
"h": 274.9
},
"luminance": 0.03523
}Semantic roles & 50–950 ramp
primary
#281A9A
secondary
#B6C34D
accent
#EE3ADA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981