#1D197F#1D197F
#1D197F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.162 H 273.1°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).
Color values
| HEX | #1D197F |
|---|---|
| RGB | rgb(29, 25, 127) |
| HSL | hsl(242, 67%, 30%) |
| HSV | hsv(242, 80%, 50%) |
| CMYK | cmyk(77.2%, 80.3%, 0%, 50.2%) |
| CIE-LAB | lab(17.87, 37.34, -55.88) |
| CIE-LCH | lch(17.87, 67.21, 303.75°) |
| OKLab | oklab(30.81% 0.0089 -0.1617) |
| OKLCH | oklch(30.81% 0.162 273.1) |
| XYZ | xyz(4.6838, 2.4883, 20.3080) |
| Luminance | 0.0249 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.49
Royal
#0C1793
ΔE00 3.03
Dark Royal Blue
#02066F
ΔE00 4.50
Navy
#000080
ΔE00 4.54
Darkblue
#00008B
ΔE00 4.57
Deep Blue
#040273
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D197F #7B7F19
analogous
#19487F #1D197F #50197F
triadic
#1D197F #7F1D19 #197F1D
tetradic
#1D197F #7F1948 #7B7F19 #197F50
square
#1D197F #7F1948 #7B7F19 #197F50
split-complementary
#1D197F #7F5019 #487F19
monochromatic
#06051A #110F4C #1D197F #2923B2 #403AD8
Accessibility & contrast
On white
14.02
#1D197F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#1D197F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D197F
14.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D197F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D197F | 1.00 | 14.02 | 1.50 | 14.02 |
| #FFFFFF | 14.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1d197f; /* rgb */ color: rgb(29, 25, 127); /* oklch */ color: oklch(30.8% 0.162 273.1);
Tailwind
colors: {
custom: {
50: '#6b58a5',
500: '#1d197f',
950: '#000000',
},
}SCSS
$custom: #1d197f; $custom-light: #6b58a5; $custom-dark: #000000;
JSON
{
"hex": "#1d197f",
"rgb": {
"r": 29,
"g": 25,
"b": 127
},
"hsl": {
"h": 242.353,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.30814,
"c": 0.16194,
"h": 273.1
},
"luminance": 0.02489
}Semantic roles & 50–950 ramp
primary
#1D197F
secondary
#AFB341
accent
#EA3EE3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F