#1D2F7F#1D2F7F
#1D2F7F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.137 H 268.4°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).
Color values
| HEX | #1D2F7F |
|---|---|
| RGB | rgb(29, 47, 127) |
| HSL | hsl(229, 63%, 31%) |
| HSV | hsv(229, 77%, 50%) |
| CMYK | cmyk(77.2%, 63%, 0%, 50.2%) |
| CIE-LAB | lab(23.09, 23.17, -47.29) |
| CIE-LCH | lch(23.09, 52.67, 296.10°) |
| OKLab | oklab(34.59% -0.0038 -0.1366) |
| OKLCH | oklch(34.59% 0.137 268.4) |
| XYZ | xyz(5.3527, 3.8260, 20.5309) |
| Luminance | 0.0383 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.33
Midnight Blue
#191970
ΔE00 6.54
Sapphire (survey)
#2138AB
ΔE00 6.70
Darkslateblue
#483D8B
ΔE00 7.18
Marine Blue
#01386A
ΔE00 7.31
Blueberry
#464196
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D2F7F #7F6D1D
analogous
#1D607F #1D2F7F #3C1D7F
triadic
#1D2F7F #7F1D2F #2F7F1D
tetradic
#1D2F7F #7F1D60 #7F6D1D #1D7F3C
square
#1D2F7F #7F1D60 #7F6D1D #1D7F3C
split-complementary
#1D2F7F #7F3C1D #607F1D
monochromatic
#060A1B #121D4D #1D2F7F #2841B1 #425DD4
Accessibility & contrast
On white
11.90
#1D2F7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#1D2F7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D2F7F
11.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D2F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D2F7F | 1.00 | 11.90 | 1.77 | 11.90 |
| #FFFFFF | 11.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1d2f7f; /* rgb */ color: rgb(29, 47, 127); /* oklch */ color: oklch(34.6% 0.137 268.4);
Tailwind
colors: {
custom: {
50: '#6967a5',
500: '#1d2f7f',
950: '#000000',
},
}SCSS
$custom: #1d2f7f; $custom-light: #6967a5; $custom-dark: #000000;
JSON
{
"hex": "#1d2f7f",
"rgb": {
"r": 29,
"g": 47,
"b": 127
},
"hsl": {
"h": 228.98,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.3459,
"c": 0.13667,
"h": 268.4
},
"luminance": 0.03827
}Semantic roles & 50–950 ramp
primary
#1D2F7F
secondary
#B29E45
accent
#C842E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F