#1D3F94#1D3F94
#1D3F94 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.146 H 264.2°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #1D3F94 |
|---|---|
| RGB | rgb(29, 63, 148) |
| HSL | hsl(223, 67%, 35%) |
| HSV | hsv(223, 80%, 58%) |
| CMYK | cmyk(80.4%, 57.4%, 0%, 42%) |
| CIE-LAB | lab(29.29, 20.43, -50.23) |
| CIE-LCH | lch(29.29, 54.22, 292.14°) |
| OKLab | oklab(39.78% -0.0146 -0.145) |
| OKLCH | oklch(39.78% 0.146 264.2) |
| XYZ | xyz(7.6276, 5.9535, 28.7584) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.57
Cobalt
#0047AB
ΔE00 3.99
Darkish Blue
#014182
ΔE00 4.52
Sapphire (survey)
#2138AB
ΔE00 4.80
Twilight Blue
#0A437A
ΔE00 5.67
Blueberry
#464196
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D3F94 #94721D
analogous
#1D7B94 #1D3F94 #361D94
triadic
#1D3F94 #941D3F #3F941D
tetradic
#1D3F94 #941D7B #94721D #1D9436
square
#1D3F94 #941D7B #94721D #1D9436
split-complementary
#1D3F94 #94361D #7B941D
monochromatic
#09132E #132961 #1D3F94 #2755C7 #4F77DC
Accessibility & contrast
On white
9.59
#1D3F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#1D3F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D3F94
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D3F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D3F94 | 1.00 | 9.59 | 2.19 | 9.59 |
| #FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1d3f94; /* rgb */ color: rgb(29, 63, 148); /* oklch */ color: oklch(39.8% 0.146 264.2);
Tailwind
colors: {
custom: {
50: '#6d73b4',
500: '#1d3f94',
950: '#000000',
},
}SCSS
$custom: #1d3f94; $custom-light: #6d73b4; $custom-dark: #000000;
JSON
{
"hex": "#1d3f94",
"rgb": {
"r": 29,
"g": 63,
"b": 148
},
"hsl": {
"h": 222.857,
"s": 67.232,
"l": 34.706
},
"oklch": {
"l": 0.39785,
"c": 0.14572,
"h": 264.2
},
"luminance": 0.05954
}Semantic roles & 50–950 ramp
primary
#1D3F94
secondary
#BF9F4E
accent
#B93EEA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80