#1D283F#1D283F
#1D283F is a dark, muted blue. Relative luminance 0.021; OKLCH L 27.8% C 0.045 H 264.1°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).
Color values
| HEX | #1D283F |
|---|---|
| RGB | rgb(29, 40, 63) |
| HSL | hsl(221, 37%, 18%) |
| HSV | hsv(221, 54%, 25%) |
| CMYK | cmyk(54%, 36.5%, 0%, 75.3%) |
| CIE-LAB | lab(16.19, 2.92, -16.12) |
| CIE-LCH | lch(16.19, 16.38, 280.25°) |
| OKLab | oklab(27.85% -0.0046 -0.0452) |
| OKLCH | oklch(27.85% 0.045 264.1) |
| XYZ | xyz(2.1624, 2.1375, 5.0003) |
| Luminance | 0.0214 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 3.26
Dark
#1B2431
ΔE00 5.09
Marine
#042E60
ΔE00 8.05
Navy (survey)
#01153E
ΔE00 8.33
Marine Blue
#01386A
ΔE00 9.96
Dark Blue Grey
#1F3B4D
ΔE00 10.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D283F #3F341D
analogous
#1D393F #1D283F #231D3F
triadic
#1D283F #3F1D28 #283F1D
tetradic
#1D283F #3F1D39 #3F341D #1D3F23
square
#1D283F #3F1D39 #3F341D #1D3F23
split-complementary
#1D283F #3F231D #393F1D
monochromatic
#0A0D15 #0A0D15 #1D283F #304369 #445D93
Accessibility & contrast
On white
14.71
#1D283F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#1D283F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D283F
14.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D283F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D283F | 1.00 | 14.71 | 1.43 | 14.71 |
| #FFFFFF | 14.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F2A40
Deuteranopia (green-blind)
#1C273E
Tritanopia (blue-blind)
#0F2D30
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1d283f; /* rgb */ color: rgb(29, 40, 63); /* oklch */ color: oklch(27.8% 0.045 264.1);
Tailwind
colors: {
custom: {
50: '#5b6174',
500: '#1d283f',
950: '#000000',
},
}SCSS
$custom: #1d283f; $custom-light: #5b6174; $custom-dark: #000000;
JSON
{
"hex": "#1d283f",
"rgb": {
"r": 29,
"g": 40,
"b": 63
},
"hsl": {
"h": 220.588,
"s": 36.957,
"l": 18.039
},
"oklch": {
"l": 0.27845,
"c": 0.04549,
"h": 264.1
},
"luminance": 0.02138
}Semantic roles & 50–950 ramp
primary
#1D283F
secondary
#746444
accent
#A85BCD
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040508
muted
#79797B