#1D2D6F#1D2D6F
#1D2D6F is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.116 H 268.8°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).
Color values
| HEX | #1D2D6F |
|---|---|
| RGB | rgb(29, 45, 111) |
| HSL | hsl(228, 59%, 27%) |
| HSV | hsv(228, 74%, 44%) |
| CMYK | cmyk(73.9%, 59.5%, 0%, 56.5%) |
| CIE-LAB | lab(21.15, 18.21, -40.25) |
| CIE-LCH | lch(21.15, 44.17, 294.34°) |
| OKLab | oklab(32.72% -0.0025 -0.1159) |
| OKLCH | oklch(32.72% 0.116 268.8) |
| XYZ | xyz(4.3133, 3.2852, 15.4426) |
| Luminance | 0.0329 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.67
Midnight Blue
#191970
ΔE00 6.54
Marine Blue
#01386A
ΔE00 6.75
Navy Blue
#1B2A4A
ΔE00 7.20
Darkslateblue
#483D8B
ΔE00 8.31
Darkish Blue
#014182
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D2D6F #6F5F1D
analogous
#1D566F #1D2D6F #361D6F
triadic
#1D2D6F #6F1D2D #2D6F1D
tetradic
#1D2D6F #6F1D56 #6F5F1D #1D6F36
square
#1D2D6F #6F1D56 #6F5F1D #1D6F36
split-complementary
#1D2D6F #6F361D #566F1D
monochromatic
#060A18 #10193E #1D2D6F #2A41A0 #3B57CC
Accessibility & contrast
On white
12.67
#1D2D6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#1D2D6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D2D6F
12.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D2D6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D2D6F | 1.00 | 12.67 | 1.66 | 12.67 |
| #FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1d2d6f; /* rgb */ color: rgb(29, 45, 111); /* oklch */ color: oklch(32.7% 0.116 268.8);
Tailwind
colors: {
custom: {
50: '#656599',
500: '#1d2d6f',
950: '#000000',
},
}SCSS
$custom: #1d2d6f; $custom-light: #656599; $custom-dark: #000000;
JSON
{
"hex": "#1d2d6f",
"rgb": {
"r": 29,
"g": 45,
"b": 111
},
"hsl": {
"h": 228.293,
"s": 58.571,
"l": 27.451
},
"oklch": {
"l": 0.32717,
"c": 0.11598,
"h": 268.8
},
"luminance": 0.03286
}Semantic roles & 50–950 ramp
primary
#1D2D6F
secondary
#A39144
accent
#C346E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E