#1D2D7C#1D2D7C
#1D2D7C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.135 H 269.0°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).
Color values
| HEX | #1D2D7C |
|---|---|
| RGB | rgb(29, 45, 124) |
| HSL | hsl(230, 62%, 30%) |
| HSV | hsv(230, 77%, 49%) |
| CMYK | cmyk(76.6%, 63.7%, 0%, 51.4%) |
| CIE-LAB | lab(22.28, 23.38, -46.72) |
| CIE-LCH | lch(22.28, 52.25, 296.58°) |
| OKLab | oklab(33.91% -0.0023 -0.135) |
| OKLCH | oklch(33.91% 0.135 269) |
| XYZ | xyz(5.0819, 3.5927, 19.4905) |
| Luminance | 0.0359 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.90
Marine
#042E60
ΔE00 6.29
Sapphire (survey)
#2138AB
ΔE00 7.26
Royal
#0C1793
ΔE00 7.38
Darkslateblue
#483D8B
ΔE00 7.43
Marine Blue
#01386A
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D2D7C #7C6C1D
analogous
#1D5C7C #1D2D7C #3D1D7C
triadic
#1D2D7C #7C1D2D #2D7C1D
tetradic
#1D2D7C #7C1D5C #7C6C1D #1D7C3D
square
#1D2D7C #7C1D5C #7C6C1D #1D7C3D
split-complementary
#1D2D7C #7C3D1D #5C7C1D
monochromatic
#060919 #111B4A #1D2D7C #293FAE #4159D3
Accessibility & contrast
On white
12.22
#1D2D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#1D2D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D2D7C
12.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D2D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D2D7C | 1.00 | 12.22 | 1.72 | 12.22 |
| #FFFFFF | 12.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1d2d7c; /* rgb */ color: rgb(29, 45, 124); /* oklch */ color: oklch(33.9% 0.135 269.0);
Tailwind
colors: {
custom: {
50: '#6865a3',
500: '#1d2d7c',
950: '#000000',
},
}SCSS
$custom: #1d2d7c; $custom-light: #6865a3; $custom-dark: #000000;
JSON
{
"hex": "#1d2d7c",
"rgb": {
"r": 29,
"g": 45,
"b": 124
},
"hsl": {
"h": 229.895,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.33905,
"c": 0.13499,
"h": 269
},
"luminance": 0.03593
}Semantic roles & 50–950 ramp
primary
#1D2D7C
secondary
#B09E45
accent
#CA43E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F