#1D2F5D#1D2F5D
#1D2F5D is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.085 H 265.7°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).
Color values
| HEX | #1D2F5D |
|---|---|
| RGB | rgb(29, 47, 93) |
| HSL | hsl(223, 52%, 24%) |
| HSV | hsv(223, 69%, 36%) |
| CMYK | cmyk(68.8%, 49.5%, 0%, 63.5%) |
| CIE-LAB | lab(20.38, 9.52, -29.76) |
| CIE-LCH | lch(20.38, 31.24, 287.74°) |
| OKLab | oklab(31.69% -0.0064 -0.0851) |
| OKLCH | oklch(31.69% 0.085 265.7) |
| XYZ | xyz(3.4983, 3.0842, 10.7648) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 3.16
Navy Blue
#1B2A4A
ΔE00 3.90
Marine Blue
#01386A
ΔE00 5.71
Navy (survey)
#01153E
ΔE00 8.26
Darkish Blue
#014182
ΔE00 8.44
Twilight Blue
#0A437A
ΔE00 8.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D2F5D #5D4B1D
analogous
#1D4F5D #1D2F5D #2B1D5D
triadic
#1D2F5D #5D1D2F #2F5D1D
tetradic
#1D2F5D #5D1D4F #5D4B1D #1D5D2B
square
#1D2F5D #5D1D4F #5D4B1D #1D5D2B
split-complementary
#1D2F5D #5D2B1D #4F5D1D
monochromatic
#070C17 #0E172E #1D2F5D #2C478C #3A5EBA
Accessibility & contrast
On white
12.99
#1D2F5D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#1D2F5D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D2F5D
12.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D2F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D2F5D | 1.00 | 12.99 | 1.62 | 12.99 |
| #FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#18345F
Deuteranopia (green-blind)
#0D2E5C
Tritanopia (blue-blind)
#003A41
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1d2f5d; /* rgb */ color: rgb(29, 47, 93); /* oklch */ color: oklch(31.7% 0.085 265.7);
Tailwind
colors: {
custom: {
50: '#61678b',
500: '#1d2f5d',
950: '#000000',
},
}SCSS
$custom: #1d2f5d; $custom-light: #61678b; $custom-dark: #000000;
JSON
{
"hex": "#1d2f5d",
"rgb": {
"r": 29,
"g": 47,
"b": 93
},
"hsl": {
"h": 223.125,
"s": 52.459,
"l": 23.922
},
"oklch": {
"l": 0.31693,
"c": 0.08531,
"h": 265.7
},
"luminance": 0.03085
}Semantic roles & 50–950 ramp
primary
#1D2F5D
secondary
#927C44
accent
#B34CDC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D