#1D2F8F#1D2F8F
#1D2F8F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.159 H 268.4°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).
Color values
| HEX | #1D2F8F |
|---|---|
| RGB | rgb(29, 47, 143) |
| HSL | hsl(231, 66%, 34%) |
| HSV | hsv(231, 80%, 56%) |
| CMYK | cmyk(79.7%, 67.1%, 0%, 43.9%) |
| CIE-LAB | lab(24.57, 29.40, -54.87) |
| CIE-LCH | lch(24.57, 62.25, 298.18°) |
| OKLab | oklab(36.13% -0.0043 -0.1588) |
| OKLCH | oklch(36.13% 0.159 268.4) |
| XYZ | xyz(6.4794, 4.2767, 26.4653) |
| Luminance | 0.0428 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.50
Royal
#0C1793
ΔE00 6.24
Blueberry
#464196
ΔE00 6.79
Darkslateblue
#483D8B
ΔE00 6.97
Midnight Blue
#191970
ΔE00 7.10
Indigo Blue
#3A18B1
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D2F8F #8F7D1D
analogous
#1D688F #1D2F8F #441D8F
triadic
#1D2F8F #8F1D2F #2F8F1D
tetradic
#1D2F8F #8F1D68 #8F7D1D #1D8F44
square
#1D2F8F #8F1D68 #8F7D1D #1D8F44
split-complementary
#1D2F8F #8F441D #688F1D
monochromatic
#080E29 #131E5C #1D2F8F #2740C2 #4C62DB
Accessibility & contrast
On white
11.32
#1D2F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#1D2F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D2F8F
11.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D2F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D2F8F | 1.00 | 11.32 | 1.86 | 11.32 |
| #FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1d2f8f; /* rgb */ color: rgb(29, 47, 143); /* oklch */ color: oklch(36.1% 0.159 268.4);
Tailwind
colors: {
custom: {
50: '#6d67b1',
500: '#1d2f8f',
950: '#000000',
},
}SCSS
$custom: #1d2f8f; $custom-light: #6d67b1; $custom-dark: #000000;
JSON
{
"hex": "#1d2f8f",
"rgb": {
"r": 29,
"g": 47,
"b": 143
},
"hsl": {
"h": 230.526,
"s": 66.279,
"l": 33.725
},
"oklch": {
"l": 0.36134,
"c": 0.15888,
"h": 268.4
},
"luminance": 0.04277
}Semantic roles & 50–950 ramp
primary
#1D2F8F
secondary
#BDAB4B
accent
#CE3FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80