#1D198F#1D198F
#1D198F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.182 H 271.6°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).
Color values
| HEX | #1D198F |
|---|---|
| RGB | rgb(29, 25, 143) |
| HSL | hsl(242, 70%, 33%) |
| HSV | hsv(242, 83%, 56%) |
| CMYK | cmyk(79.7%, 82.5%, 0%, 43.9%) |
| CIE-LAB | lab(19.80, 42.67, -62.74) |
| CIE-LCH | lch(19.80, 75.88, 304.22°) |
| OKLab | oklab(32.73% 0.0051 -0.1816) |
| OKLCH | oklch(32.73% 0.182 271.6) |
| XYZ | xyz(5.8106, 2.9390, 26.2423) |
| Luminance | 0.0294 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.10
Cobalt Blue
#030AA7
ΔE00 3.75
Darkblue
#00008B
ΔE00 4.11
Royal Blue (survey)
#0504AA
ΔE00 4.32
Midnight Blue
#191970
ΔE00 4.85
Navy
#000080
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D198F #8B8F19
analogous
#19508F #1D198F #58198F
triadic
#1D198F #8F1D19 #198F1D
tetradic
#1D198F #8F1950 #8B8F19 #198F58
square
#1D198F #8F1950 #8B8F19 #198F58
split-complementary
#1D198F #8F5819 #508F19
monochromatic
#080727 #12105B #1D198F #2822C3 #4944DE
Accessibility & contrast
On white
13.22
#1D198F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#1D198F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D198F
13.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D198F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D198F | 1.00 | 13.22 | 1.59 | 13.22 |
| #FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#002A8D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1d198f; /* rgb */ color: rgb(29, 25, 143); /* oklch */ color: oklch(32.7% 0.182 271.6);
Tailwind
colors: {
custom: {
50: '#7059b1',
500: '#1d198f',
950: '#000000',
},
}SCSS
$custom: #1d198f; $custom-light: #7059b1; $custom-dark: #000000;
JSON
{
"hex": "#1d198f",
"rgb": {
"r": 29,
"g": 25,
"b": 143
},
"hsl": {
"h": 242.034,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.32725,
"c": 0.18167,
"h": 271.6
},
"luminance": 0.0294
}Semantic roles & 50–950 ramp
primary
#1D198F
secondary
#BBBF44
accent
#ED3BE7
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980