#1D137C#1D137C
#1D137C is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.163 H 274.2°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1D137C |
|---|---|
| RGB | rgb(29, 19, 124) |
| HSL | hsl(246, 73%, 28%) |
| HSV | hsv(246, 85%, 49%) |
| CMYK | cmyk(76.6%, 84.7%, 0%, 51.4%) |
| CIE-LAB | lab(16.41, 39.50, -56.38) |
| CIE-LCH | lch(16.41, 68.84, 305.02°) |
| OKLab | oklab(29.7% 0.0119 -0.163) |
| OKLCH | oklch(29.7% 0.163 274.2) |
| XYZ | xyz(4.3765, 2.1817, 19.2553) |
| Luminance | 0.0218 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.73
Dark Royal Blue
#02066F
ΔE00 3.39
Navy
#000080
ΔE00 3.43
Royal
#0C1793
ΔE00 3.49
Deep Blue
#040273
ΔE00 3.51
Darkblue
#00008B
ΔE00 3.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D137C #727C13
analogous
#133D7C #1D137C #51137C
triadic
#1D137C #7C1D13 #137C1D
tetradic
#1D137C #7C133D #727C13 #137C51
square
#1D137C #7C133D #727C13 #137C51
split-complementary
#1D137C #7C5113 #3D7C13
monochromatic
#06041B #110B47 #1D137C #291BB1 #3C2BDF
Accessibility & contrast
On white
14.62
#1D137C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#1D137C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D137C
14.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D137C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D137C | 1.00 | 14.62 | 1.44 | 14.62 |
| #FFFFFF | 14.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7F
Deuteranopia (green-blind)
#00247A
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1d137c; /* rgb */ color: rgb(29, 19, 124); /* oklch */ color: oklch(29.7% 0.163 274.2);
Tailwind
colors: {
custom: {
50: '#6b54a3',
500: '#1d137c',
950: '#000000',
},
}SCSS
$custom: #1d137c; $custom-light: #6b54a3; $custom-dark: #000000;
JSON
{
"hex": "#1d137c",
"rgb": {
"r": 29,
"g": 19,
"b": 124
},
"hsl": {
"h": 245.714,
"s": 73.427,
"l": 28.039
},
"oklch": {
"l": 0.29696,
"c": 0.16347,
"h": 274.2
},
"luminance": 0.02182
}Semantic roles & 50–950 ramp
primary
#1D137C
secondary
#A6B239
accent
#F038DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F