#1D438C#1D438C
#1D438C is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.0% C 0.129 H 261.8°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #1D438C |
|---|---|
| RGB | rgb(29, 67, 140) |
| HSL | hsl(219, 66%, 33%) |
| HSV | hsv(219, 79%, 55%) |
| CMYK | cmyk(79.3%, 52.1%, 0%, 45.1%) |
| CIE-LAB | lab(29.83, 14.45, -44.44) |
| CIE-LCH | lch(29.83, 46.73, 288.02°) |
| OKLab | oklab(40% -0.0184 -0.1279) |
| OKLCH | oklch(40% 0.129 261.8) |
| XYZ | xyz(7.2458, 6.1681, 25.6145) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.72
Darkish Blue
#014182
ΔE00 2.85
Twilight Blue
#0A437A
ΔE00 3.85
Cobalt
#0047AB
ΔE00 4.20
Prussian Blue
#004577
ΔE00 5.30
Dusk Blue
#26538D
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D438C #8C661D
analogous
#1D7A8C #1D438C #2E1D8C
triadic
#1D438C #8C1D43 #438C1D
tetradic
#1D438C #8C1D7A #8C661D #1D8C2E
square
#1D438C #8C1D7A #8C661D #1D8C2E
split-complementary
#1D438C #8C2E1D #7A8C1D
monochromatic
#081227 #122B59 #1D438C #285BBF #4A7BD9
Accessibility & contrast
On white
9.40
#1D438C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#1D438C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D438C
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D438C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D438C | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#144C8F
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1d438c; /* rgb */ color: rgb(29, 67, 140); /* oklch */ color: oklch(40.0% 0.129 261.8);
Tailwind
colors: {
custom: {
50: '#6b76ae',
500: '#1d438c',
950: '#000000',
},
}SCSS
$custom: #1d438c; $custom-light: #6b76ae; $custom-dark: #000000;
JSON
{
"hex": "#1d438c",
"rgb": {
"r": 29,
"g": 67,
"b": 140
},
"hsl": {
"h": 219.459,
"s": 65.68,
"l": 33.137
},
"oklch": {
"l": 0.39999,
"c": 0.12922,
"h": 261.8
},
"luminance": 0.06169
}Semantic roles & 50–950 ramp
primary
#1D438C
secondary
#BC9449
accent
#AF3FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F