#1D2973#1D2973
#1D2973 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.127 H 270.4°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).
Color values
| HEX | #1D2973 |
|---|---|
| RGB | rgb(29, 41, 115) |
| HSL | hsl(232, 60%, 28%) |
| HSV | hsv(232, 75%, 45%) |
| CMYK | cmyk(74.8%, 64.3%, 0%, 54.9%) |
| CIE-LAB | lab(20.38, 22.63, -44.08) |
| CIE-LCH | lch(20.38, 49.55, 297.18°) |
| OKLab | oklab(32.25% 0.0009 -0.1273) |
| OKLCH | oklch(32.25% 0.127 270.4) |
| XYZ | xyz(4.3931, 3.0844, 16.5802) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.81
Marine
#042E60
ΔE00 6.13
Royal
#0C1793
ΔE00 7.54
Marine Blue
#01386A
ΔE00 8.24
Darkslateblue
#483D8B
ΔE00 8.24
Navy Blue
#1B2A4A
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D2973 #73671D
analogous
#1D5473 #1D2973 #3C1D73
triadic
#1D2973 #731D29 #29731D
tetradic
#1D2973 #731D54 #73671D #1D733C
square
#1D2973 #731D54 #73671D #1D733C
split-complementary
#1D2973 #733C1D #54731D
monochromatic
#060918 #111842 #1D2973 #293AA4 #3C51CE
Accessibility & contrast
On white
12.99
#1D2973 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#1D2973 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D2973
12.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D2973 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D2973 | 1.00 | 12.99 | 1.62 | 12.99 |
| #FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#002D72
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1d2973; /* rgb */ color: rgb(29, 41, 115); /* oklch */ color: oklch(32.3% 0.127 270.4);
Tailwind
colors: {
custom: {
50: '#66629c',
500: '#1d2973',
950: '#000000',
},
}SCSS
$custom: #1d2973; $custom-light: #66629c; $custom-dark: #000000;
JSON
{
"hex": "#1d2973",
"rgb": {
"r": 29,
"g": 41,
"b": 115
},
"hsl": {
"h": 231.628,
"s": 59.722,
"l": 28.235
},
"oklch": {
"l": 0.3225,
"c": 0.12726,
"h": 270.4
},
"luminance": 0.03085
}Semantic roles & 50–950 ramp
primary
#1D2973
secondary
#A79945
accent
#CD45E3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E