#1D306C#1D306C
#1D306C is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.1% C 0.107 H 267.1°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).
Color values
| HEX | #1D306C |
|---|---|
| RGB | rgb(29, 48, 108) |
| HSL | hsl(226, 58%, 27%) |
| HSV | hsv(226, 73%, 42%) |
| CMYK | cmyk(73.1%, 55.6%, 0%, 57.6%) |
| CIE-LAB | lab(21.79, 14.85, -37.27) |
| CIE-LCH | lch(21.79, 40.12, 291.72°) |
| OKLab | oklab(33.12% -0.0054 -0.1072) |
| OKLCH | oklch(33.12% 0.107 267.1) |
| XYZ | xyz(4.2695, 3.4574, 14.6268) |
| Luminance | 0.0346 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 3.71
Marine Blue
#01386A
ΔE00 5.63
Navy Blue
#1B2A4A
ΔE00 6.47
Darkish Blue
#014182
ΔE00 7.41
Midnight Blue
#191970
ΔE00 7.92
Twilight Blue
#0A437A
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D306C #6C591D
analogous
#1D586C #1D306C #321D6C
triadic
#1D306C #6C1D30 #306C1D
tetradic
#1D306C #6C1D58 #6C591D #1D6C32
square
#1D306C #6C1D58 #6C591D #1D6C32
split-complementary
#1D306C #6C321D #586C1D
monochromatic
#060B18 #101B3C #1D306C #2A459C #395CCA
Accessibility & contrast
On white
12.41
#1D306C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#1D306C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D306C
12.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D306C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D306C | 1.00 | 12.41 | 1.69 | 12.41 |
| #FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#07386E
Deuteranopia (green-blind)
#00316B
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1d306c; /* rgb */ color: rgb(29, 48, 108); /* oklch */ color: oklch(33.1% 0.107 267.1);
Tailwind
colors: {
custom: {
50: '#646797',
500: '#1d306c',
950: '#000000',
},
}SCSS
$custom: #1d306c; $custom-light: #646797; $custom-dark: #000000;
JSON
{
"hex": "#1d306c",
"rgb": {
"r": 29,
"g": 48,
"b": 108
},
"hsl": {
"h": 225.57,
"s": 57.664,
"l": 26.863
},
"oklch": {
"l": 0.33121,
"c": 0.1073,
"h": 267.1
},
"luminance": 0.03458
}Semantic roles & 50–950 ramp
primary
#1D306C
secondary
#A18A44
accent
#BC47E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E