#1D1281#1D1281
#1D1281 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.170 H 273.6°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).
Color values
| HEX | #1D1281 |
|---|---|
| RGB | rgb(29, 18, 129) |
| HSL | hsl(246, 76%, 29%) |
| HSV | hsv(246, 86%, 51%) |
| CMYK | cmyk(77.5%, 86%, 0%, 49.4%) |
| CIE-LAB | lab(16.88, 41.57, -58.78) |
| CIE-LCH | lch(16.88, 71.99, 305.27°) |
| OKLab | oklab(30.2% 0.0108 -0.17) |
| OKLCH | oklch(30.2% 0.17 273.6) |
| XYZ | xyz(4.6841, 2.2783, 20.9575) |
| Luminance | 0.0228 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.86
Darkblue
#00008B
ΔE00 3.17
Navy
#000080
ΔE00 3.17
Midnight Blue
#191970
ΔE00 3.45
Deep Blue
#040273
ΔE00 3.68
Dark Royal Blue
#02066F
ΔE00 3.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D1281 #768112
analogous
#123F81 #1D1281 #551281
triadic
#1D1281 #811D12 #12811D
tetradic
#1D1281 #81123F #768112 #128155
square
#1D1281 #81123F #768112 #128155
split-complementary
#1D1281 #815512 #3F8112
monochromatic
#06041B #110B4B #1D1281 #2919B7 #3E2CE2
Accessibility & contrast
On white
14.43
#1D1281 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#1D1281 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D1281
14.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D1281 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D1281 | 1.00 | 14.43 | 1.46 | 14.43 |
| #FFFFFF | 14.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F84
Deuteranopia (green-blind)
#00247F
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1d1281; /* rgb */ color: rgb(29, 18, 129); /* oklch */ color: oklch(30.2% 0.170 273.6);
Tailwind
colors: {
custom: {
50: '#6c54a7',
500: '#1d1281',
950: '#000000',
},
}SCSS
$custom: #1d1281; $custom-light: #6c54a7; $custom-dark: #000000;
JSON
{
"hex": "#1d1281",
"rgb": {
"r": 29,
"g": 18,
"b": 129
},
"hsl": {
"h": 245.946,
"s": 75.51,
"l": 28.824
},
"oklch": {
"l": 0.30203,
"c": 0.17032,
"h": 273.6
},
"luminance": 0.02279
}Semantic roles & 50–950 ramp
primary
#1D1281
secondary
#AAB738
accent
#F236DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F