#1D2F9D#1D2F9D
#1D2F9D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.177 H 268.3°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #1D2F9D |
|---|---|
| RGB | rgb(29, 47, 157) |
| HSL | hsl(232, 69%, 36%) |
| HSV | hsv(232, 82%, 62%) |
| CMYK | cmyk(81.5%, 70.1%, 0%, 38.4%) |
| CIE-LAB | lab(25.94, 34.68, -61.21) |
| CIE-LCH | lch(25.94, 70.35, 299.53°) |
| OKLab | oklab(37.56% -0.0053 -0.1773) |
| OKLCH | oklch(37.56% 0.177 268.3) |
| XYZ | xyz(7.6069, 4.7277, 32.4034) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.04
Royal
#0C1793
ΔE00 5.92
Indigo Blue
#3A18B1
ΔE00 6.78
Blueberry
#464196
ΔE00 6.79
Darkslateblue
#483D8B
ΔE00 7.40
Cobalt Blue
#030AA7
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D2F9D #9D8B1D
analogous
#1D6F9D #1D2F9D #4B1D9D
triadic
#1D2F9D #9D1D2F #2F9D1D
tetradic
#1D2F9D #9D1D6F #9D8B1D #1D9D4B
square
#1D2F9D #9D1D6F #9D8B1D #1D9D4B
split-complementary
#1D2F9D #9D4B1D #6F9D1D
monochromatic
#0A1036 #132069 #1D2F9D #273ED1 #5568E0
Accessibility & contrast
On white
10.79
#1D2F9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#1D2F9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D2F9D
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D2F9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D2F9D | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1d2f9d; /* rgb */ color: rgb(29, 47, 157); /* oklch */ color: oklch(37.6% 0.177 268.3);
Tailwind
colors: {
custom: {
50: '#7168bb',
500: '#1d2f9d',
950: '#000000',
},
}SCSS
$custom: #1d2f9d; $custom-light: #7168bb; $custom-dark: #000000;
JSON
{
"hex": "#1d2f9d",
"rgb": {
"r": 29,
"g": 47,
"b": 157
},
"hsl": {
"h": 231.563,
"s": 68.817,
"l": 36.471
},
"oklch": {
"l": 0.37556,
"c": 0.1774,
"h": 268.3
},
"luminance": 0.04729
}Semantic roles & 50–950 ramp
primary
#1D2F9D
secondary
#C3B353
accent
#D33CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81