#1D438E#1D438E
#1D438E is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.2% C 0.132 H 262.1°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #1D438E |
|---|---|
| RGB | rgb(29, 67, 142) |
| HSL | hsl(220, 66%, 34%) |
| HSV | hsv(220, 80%, 56%) |
| CMYK | cmyk(79.6%, 52.8%, 0%, 44.3%) |
| CIE-LAB | lab(29.98, 15.26, -45.43) |
| CIE-LCH | lch(29.98, 47.93, 288.57°) |
| OKLab | oklab(40.16% -0.0182 -0.1308) |
| OKLCH | oklch(40.16% 0.132 262.1) |
| XYZ | xyz(7.3946, 6.2277, 26.3983) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.77
Darkish Blue
#014182
ΔE00 3.07
Cobalt
#0047AB
ΔE00 3.96
Twilight Blue
#0A437A
ΔE00 4.10
Prussian Blue
#004577
ΔE00 5.51
Dusk Blue
#26538D
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D438E #8E681D
analogous
#1D7B8E #1D438E #2F1D8E
triadic
#1D438E #8E1D43 #438E1D
tetradic
#1D438E #8E1D7B #8E681D #1D8E2F
square
#1D438E #8E1D7B #8E681D #1D8E2F
split-complementary
#1D438E #8E2F1D #7B8E1D
monochromatic
#081328 #132B5B #1D438E #275BC1 #4B7BDA
Accessibility & contrast
On white
9.35
#1D438E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#1D438E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D438E
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D438E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D438E | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#114C91
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1d438e; /* rgb */ color: rgb(29, 67, 142); /* oklch */ color: oklch(40.2% 0.132 262.1);
Tailwind
colors: {
custom: {
50: '#6c76b0',
500: '#1d438e',
950: '#000000',
},
}SCSS
$custom: #1d438e; $custom-light: #6c76b0; $custom-dark: #000000;
JSON
{
"hex": "#1d438e",
"rgb": {
"r": 29,
"g": 67,
"b": 142
},
"hsl": {
"h": 219.823,
"s": 66.082,
"l": 33.529
},
"oklch": {
"l": 0.40158,
"c": 0.13208,
"h": 262.1
},
"luminance": 0.06229
}Semantic roles & 50–950 ramp
primary
#1D438E
secondary
#BD964A
accent
#B03FE9
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080810
muted
#7A7B7F