#1D308C#1D308C
#1D308C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.154 H 268.2°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).
Color values
| HEX | #1D308C |
|---|---|
| RGB | rgb(29, 48, 140) |
| HSL | hsl(230, 66%, 33%) |
| HSV | hsv(230, 79%, 55%) |
| CMYK | cmyk(79.3%, 65.7%, 0%, 45.1%) |
| CIE-LAB | lab(24.54, 27.57, -53.06) |
| CIE-LCH | lch(24.54, 59.79, 297.46°) |
| OKLab | oklab(36.03% -0.0048 -0.1535) |
| OKLCH | oklch(36.03% 0.154 268.2) |
| XYZ | xyz(6.2956, 4.2679, 25.2978) |
| Luminance | 0.0427 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.79
Blueberry
#464196
ΔE00 6.73
Royal
#0C1793
ΔE00 6.74
Darkslateblue
#483D8B
ΔE00 6.86
Midnight Blue
#191970
ΔE00 7.17
Marine
#042E60
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D308C #8C791D
analogous
#1D678C #1D308C #421D8C
triadic
#1D308C #8C1D30 #308C1D
tetradic
#1D308C #8C1D67 #8C791D #1D8C42
square
#1D308C #8C1D67 #8C791D #1D8C42
split-complementary
#1D308C #8C421D #678C1D
monochromatic
#080D27 #121F59 #1D308C #2841BF #4A62D9
Accessibility & contrast
On white
11.33
#1D308C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#1D308C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D308C
11.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D308C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D308C | 1.00 | 11.33 | 1.85 | 11.33 |
| #FFFFFF | 11.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00358A
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1d308c; /* rgb */ color: rgb(29, 48, 140); /* oklch */ color: oklch(36.0% 0.154 268.2);
Tailwind
colors: {
custom: {
50: '#6c68ae',
500: '#1d308c',
950: '#000000',
},
}SCSS
$custom: #1d308c; $custom-light: #6c68ae; $custom-dark: #000000;
JSON
{
"hex": "#1d308c",
"rgb": {
"r": 29,
"g": 48,
"b": 140
},
"hsl": {
"h": 229.73,
"s": 65.68,
"l": 33.137
},
"oklch": {
"l": 0.36027,
"c": 0.15358,
"h": 268.2
},
"luminance": 0.04269
}Semantic roles & 50–950 ramp
primary
#1D308C
secondary
#BCA849
accent
#CC3FE9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F