#1D137F#1D137F
#1D137F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.167 H 273.8°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).
Color values
| HEX | #1D137F |
|---|---|
| RGB | rgb(29, 19, 127) |
| HSL | hsl(246, 74%, 29%) |
| HSV | hsv(246, 85%, 50%) |
| CMYK | cmyk(77.2%, 85%, 0%, 50.2%) |
| CIE-LAB | lab(16.79, 40.46, -57.66) |
| CIE-LCH | lch(16.79, 70.44, 305.06°) |
| OKLab | oklab(30.07% 0.0111 -0.1668) |
| OKLCH | oklch(30.07% 0.167 273.8) |
| XYZ | xyz(4.5691, 2.2588, 20.2697) |
| Luminance | 0.0226 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.07
Midnight Blue
#191970
ΔE00 3.09
Navy
#000080
ΔE00 3.35
Darkblue
#00008B
ΔE00 3.47
Dark Royal Blue
#02066F
ΔE00 3.65
Deep Blue
#040273
ΔE00 3.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D137F #757F13
analogous
#133F7F #1D137F #53137F
triadic
#1D137F #7F1D13 #137F1D
tetradic
#1D137F #7F133F #757F13 #137F53
square
#1D137F #7F133F #757F13 #137F53
split-complementary
#1D137F #7F5313 #3F7F13
monochromatic
#06041B #110B4A #1D137F #291BB4 #3D2DE0
Accessibility & contrast
On white
14.46
#1D137F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#1D137F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D137F
14.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D137F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D137F | 1.00 | 14.46 | 1.45 | 14.46 |
| #FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00247D
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1d137f; /* rgb */ color: rgb(29, 19, 127); /* oklch */ color: oklch(30.1% 0.167 273.8);
Tailwind
colors: {
custom: {
50: '#6c55a5',
500: '#1d137f',
950: '#000000',
},
}SCSS
$custom: #1d137f; $custom-light: #6c55a5; $custom-dark: #000000;
JSON
{
"hex": "#1d137f",
"rgb": {
"r": 29,
"g": 19,
"b": 127
},
"hsl": {
"h": 245.556,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.30065,
"c": 0.16714,
"h": 273.8
},
"luminance": 0.02259
}Semantic roles & 50–950 ramp
primary
#1D137F
secondary
#A9B439
accent
#F137DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F