#1D418C#1D418C
#1D418C is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.6% C 0.132 H 262.7°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #1D418C |
|---|---|
| RGB | rgb(29, 65, 140) |
| HSL | hsl(221, 66%, 33%) |
| HSV | hsv(221, 79%, 55%) |
| CMYK | cmyk(79.3%, 53.6%, 0%, 45.1%) |
| CIE-LAB | lab(29.25, 15.83, -45.39) |
| CIE-LCH | lch(29.25, 48.07, 289.23°) |
| OKLab | oklab(39.55% -0.0168 -0.1307) |
| OKLCH | oklch(39.55% 0.132 262.7) |
| XYZ | xyz(7.1289, 5.9344, 25.5756) |
| Luminance | 0.0593 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.44
Darkish Blue
#014182
ΔE00 3.17
Twilight Blue
#0A437A
ΔE00 4.27
Cobalt
#0047AB
ΔE00 4.42
Prussian Blue
#004577
ΔE00 5.76
Marine Blue
#01386A
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D418C #8C681D
analogous
#1D788C #1D418C #311D8C
triadic
#1D418C #8C1D41 #418C1D
tetradic
#1D418C #8C1D78 #8C681D #1D8C31
square
#1D418C #8C1D78 #8C681D #1D8C31
split-complementary
#1D418C #8C311D #788C1D
monochromatic
#081227 #122959 #1D418C #2859BF #4A78D9
Accessibility & contrast
On white
9.60
#1D418C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#1D418C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D418C
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D418C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D418C | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C4A8F
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1d418c; /* rgb */ color: rgb(29, 65, 140); /* oklch */ color: oklch(39.6% 0.132 262.7);
Tailwind
colors: {
custom: {
50: '#6b75ae',
500: '#1d418c',
950: '#000000',
},
}SCSS
$custom: #1d418c; $custom-light: #6b75ae; $custom-dark: #000000;
JSON
{
"hex": "#1d418c",
"rgb": {
"r": 29,
"g": 65,
"b": 140
},
"hsl": {
"h": 220.541,
"s": 65.68,
"l": 33.137
},
"oklch": {
"l": 0.39553,
"c": 0.13181,
"h": 262.7
},
"luminance": 0.05935
}Semantic roles & 50–950 ramp
primary
#1D418C
secondary
#BC9749
accent
#B23FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F