#1D3C99#1D3C99
#1D3C99 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.156 H 265.5°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #1D3C99 |
|---|---|
| RGB | rgb(29, 60, 153) |
| HSL | hsl(225, 68%, 36%) |
| HSV | hsv(225, 81%, 60%) |
| CMYK | cmyk(81%, 60.8%, 0%, 40%) |
| CIE-LAB | lab(28.88, 24.48, -53.96) |
| CIE-LCH | lch(28.88, 59.25, 294.40°) |
| OKLab | oklab(39.61% -0.0123 -0.156) |
| OKLCH | oklch(39.61% 0.156 265.5) |
| XYZ | xyz(7.8703, 5.7919, 30.8340) |
| Luminance | 0.0579 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.40
Cobalt
#0047AB
ΔE00 4.48
Cobalt (survey)
#1E488F
ΔE00 4.97
Blueberry
#464196
ΔE00 5.73
Darkish Blue
#014182
ΔE00 5.80
Blue Blue
#2242C7
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D3C99 #997A1D
analogous
#1D7A99 #1D3C99 #3C1D99
triadic
#1D3C99 #991D3C #3C991D
tetradic
#1D3C99 #991D7A #997A1D #1D993C
square
#1D3C99 #991D7A #997A1D #1D993C
split-complementary
#1D3C99 #993C1D #7A991D
monochromatic
#091432 #132866 #1D3C99 #2750CC #5275DE
Accessibility & contrast
On white
9.73
#1D3C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#1D3C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D3C99
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D3C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D3C99 | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #1d3c99; /* rgb */ color: rgb(29, 60, 153); /* oklch */ color: oklch(39.6% 0.156 265.5);
Tailwind
colors: {
custom: {
50: '#6f71b8',
500: '#1d3c99',
950: '#000000',
},
}SCSS
$custom: #1d3c99; $custom-light: #6f71b8; $custom-dark: #000000;
JSON
{
"hex": "#1d3c99",
"rgb": {
"r": 29,
"g": 60,
"b": 153
},
"hsl": {
"h": 225,
"s": 68.132,
"l": 35.686
},
"oklch": {
"l": 0.39605,
"c": 0.15647,
"h": 265.5
},
"luminance": 0.05793
}Semantic roles & 50–950 ramp
primary
#1D3C99
secondary
#C1A551
accent
#BF3DEB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80