#1D137E#1D137E
#1D137E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.166 H 273.9°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).
Color values
| HEX | #1D137E |
|---|---|
| RGB | rgb(29, 19, 126) |
| HSL | hsl(246, 74%, 28%) |
| HSV | hsv(246, 85%, 49%) |
| CMYK | cmyk(77%, 84.9%, 0%, 50.6%) |
| CIE-LAB | lab(16.66, 40.14, -57.23) |
| CIE-LCH | lch(16.66, 69.91, 305.04°) |
| OKLab | oklab(29.94% 0.0114 -0.1655) |
| OKLCH | oklch(29.94% 0.166 273.9) |
| XYZ | xyz(4.5042, 2.2329, 19.9282) |
| Luminance | 0.0223 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.97
Royal
#0C1793
ΔE00 3.21
Navy
#000080
ΔE00 3.37
Darkblue
#00008B
ΔE00 3.56
Dark Royal Blue
#02066F
ΔE00 3.56
Deep Blue
#040273
ΔE00 3.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D137E #747E13
analogous
#133F7E #1D137E #52137E
triadic
#1D137E #7E1D13 #137E1D
tetradic
#1D137E #7E133F #747E13 #137E52
square
#1D137E #7E133F #747E13 #137E52
split-complementary
#1D137E #7E5213 #3F7E13
monochromatic
#06041B #110B49 #1D137E #291BB3 #3D2CDF
Accessibility & contrast
On white
14.52
#1D137E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#1D137E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D137E
14.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D137E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D137E | 1.00 | 14.52 | 1.45 | 14.52 |
| #FFFFFF | 14.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00247C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1d137e; /* rgb */ color: rgb(29, 19, 126); /* oklch */ color: oklch(29.9% 0.166 273.9);
Tailwind
colors: {
custom: {
50: '#6c55a5',
500: '#1d137e',
950: '#000000',
},
}SCSS
$custom: #1d137e; $custom-light: #6c55a5; $custom-dark: #000000;
JSON
{
"hex": "#1d137e",
"rgb": {
"r": 29,
"g": 19,
"b": 126
},
"hsl": {
"h": 245.607,
"s": 73.793,
"l": 28.431
},
"oklch": {
"l": 0.29942,
"c": 0.16592,
"h": 273.9
},
"luminance": 0.02233
}Semantic roles & 50–950 ramp
primary
#1D137E
secondary
#A8B439
accent
#F037DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F