#1D2F8D#1D2F8D
#1D2F8D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.156 H 268.5°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #1D2F8D |
|---|---|
| RGB | rgb(29, 47, 141) |
| HSL | hsl(230, 66%, 33%) |
| HSV | hsv(230, 79%, 55%) |
| CMYK | cmyk(79.4%, 66.7%, 0%, 44.7%) |
| CIE-LAB | lab(24.38, 28.63, -53.95) |
| CIE-LCH | lch(24.38, 61.08, 297.96°) |
| OKLab | oklab(35.94% -0.0042 -0.1561) |
| OKLCH | oklch(35.94% 0.156 268.5) |
| XYZ | xyz(6.3293, 4.2166, 25.6745) |
| Luminance | 0.0422 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.75
Royal
#0C1793
ΔE00 6.36
Blueberry
#464196
ΔE00 6.84
Darkslateblue
#483D8B
ΔE00 6.95
Midnight Blue
#191970
ΔE00 6.97
Marine
#042E60
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D2F8D #8D7B1D
analogous
#1D678D #1D2F8D #431D8D
triadic
#1D2F8D #8D1D2F #2F8D1D
tetradic
#1D2F8D #8D1D67 #8D7B1D #1D8D43
square
#1D2F8D #8D1D67 #8D7B1D #1D8D43
split-complementary
#1D2F8D #8D431D #678D1D
monochromatic
#080D27 #131E5A #1D2F8D #2740C0 #4B62DA
Accessibility & contrast
On white
11.39
#1D2F8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#1D2F8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D2F8D
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D2F8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D2F8D | 1.00 | 11.39 | 1.84 | 11.39 |
| #FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1d2f8d; /* rgb */ color: rgb(29, 47, 141); /* oklch */ color: oklch(35.9% 0.156 268.5);
Tailwind
colors: {
custom: {
50: '#6d67af',
500: '#1d2f8d',
950: '#000000',
},
}SCSS
$custom: #1d2f8d; $custom-light: #6d67af; $custom-dark: #000000;
JSON
{
"hex": "#1d2f8d",
"rgb": {
"r": 29,
"g": 47,
"b": 141
},
"hsl": {
"h": 230.357,
"s": 65.882,
"l": 33.333
},
"oklch": {
"l": 0.35936,
"c": 0.15617,
"h": 268.5
},
"luminance": 0.04217
}Semantic roles & 50–950 ramp
primary
#1D2F8D
secondary
#BCAA4A
accent
#CE3FE9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F