#1D2F91#1D2F91
#1D2F91 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.162 H 268.4°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).
Color values
| HEX | #1D2F91 |
|---|---|
| RGB | rgb(29, 47, 145) |
| HSL | hsl(231, 67%, 34%) |
| HSV | hsv(231, 80%, 57%) |
| CMYK | cmyk(80%, 67.6%, 0%, 43.1%) |
| CIE-LAB | lab(24.76, 30.17, -55.80) |
| CIE-LCH | lch(24.76, 63.43, 298.40°) |
| OKLab | oklab(36.33% -0.0044 -0.1615) |
| OKLCH | oklch(36.33% 0.162 268.4) |
| XYZ | xyz(6.6323, 4.3378, 27.2703) |
| Luminance | 0.0434 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.26
Royal
#0C1793
ΔE00 6.14
Blueberry
#464196
ΔE00 6.76
Darkslateblue
#483D8B
ΔE00 7.00
Midnight Blue
#191970
ΔE00 7.24
Indigo Blue
#3A18B1
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D2F91 #917F1D
analogous
#1D6991 #1D2F91 #451D91
triadic
#1D2F91 #911D2F #2F911D
tetradic
#1D2F91 #911D69 #917F1D #1D9145
square
#1D2F91 #911D69 #917F1D #1D9145
split-complementary
#1D2F91 #91451D #69911D
monochromatic
#090E2B #131E5E #1D2F91 #2740C4 #4D63DB
Accessibility & contrast
On white
11.24
#1D2F91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#1D2F91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D2F91
11.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D2F91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D2F91 | 1.00 | 11.24 | 1.87 | 11.24 |
| #FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00358F
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1d2f91; /* rgb */ color: rgb(29, 47, 145); /* oklch */ color: oklch(36.3% 0.162 268.4);
Tailwind
colors: {
custom: {
50: '#6e67b2',
500: '#1d2f91',
950: '#000000',
},
}SCSS
$custom: #1d2f91; $custom-light: #6e67b2; $custom-dark: #000000;
JSON
{
"hex": "#1d2f91",
"rgb": {
"r": 29,
"g": 47,
"b": 145
},
"hsl": {
"h": 230.69,
"s": 66.667,
"l": 34.118
},
"oklch": {
"l": 0.36334,
"c": 0.16158,
"h": 268.4
},
"luminance": 0.04339
}Semantic roles & 50–950 ramp
primary
#1D2F91
secondary
#BEAC4C
accent
#CF3EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80