#1D438D#1D438D
#1D438D is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.1% C 0.131 H 261.9°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #1D438D |
|---|---|
| RGB | rgb(29, 67, 141) |
| HSL | hsl(220, 66%, 33%) |
| HSV | hsv(220, 79%, 55%) |
| CMYK | cmyk(79.4%, 52.5%, 0%, 44.7%) |
| CIE-LAB | lab(29.91, 14.86, -44.94) |
| CIE-LCH | lch(29.91, 47.33, 288.29°) |
| OKLab | oklab(40.08% -0.0183 -0.1294) |
| OKLCH | oklch(40.08% 0.131 261.9) |
| XYZ | xyz(7.3198, 6.1978, 26.0046) |
| Luminance | 0.0620 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.74
Darkish Blue
#014182
ΔE00 2.96
Twilight Blue
#0A437A
ΔE00 3.97
Cobalt
#0047AB
ΔE00 4.08
Prussian Blue
#004577
ΔE00 5.40
Dusk Blue
#26538D
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D438D #8D671D
analogous
#1D7B8D #1D438D #2F1D8D
triadic
#1D438D #8D1D43 #438D1D
tetradic
#1D438D #8D1D7B #8D671D #1D8D2F
square
#1D438D #8D1D7B #8D671D #1D8D2F
split-complementary
#1D438D #8D2F1D #7B8D1D
monochromatic
#081327 #132B5A #1D438D #275BC0 #4B7BDA
Accessibility & contrast
On white
9.38
#1D438D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#1D438D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D438D
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D438D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D438D | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#134C90
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1d438d; /* rgb */ color: rgb(29, 67, 141); /* oklch */ color: oklch(40.1% 0.131 261.9);
Tailwind
colors: {
custom: {
50: '#6b76af',
500: '#1d438d',
950: '#000000',
},
}SCSS
$custom: #1d438d; $custom-light: #6b76af; $custom-dark: #000000;
JSON
{
"hex": "#1d438d",
"rgb": {
"r": 29,
"g": 67,
"b": 141
},
"hsl": {
"h": 219.643,
"s": 65.882,
"l": 33.333
},
"oklch": {
"l": 0.40079,
"c": 0.13065,
"h": 261.9
},
"luminance": 0.06199
}Semantic roles & 50–950 ramp
primary
#1D438D
secondary
#BC954A
accent
#AF3FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F