#1D148C#1D148C
#1D148C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.182 H 272.3°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).
Color values
| HEX | #1D148C |
|---|---|
| RGB | rgb(29, 20, 140) |
| HSL | hsl(245, 75%, 31%) |
| HSV | hsv(245, 86%, 55%) |
| CMYK | cmyk(79.3%, 85.7%, 0%, 45.1%) |
| CIE-LAB | lab(18.60, 44.11, -62.86) |
| CIE-LCH | lch(18.60, 76.79, 305.06°) |
| OKLab | oklab(31.79% 0.0072 -0.1818) |
| OKLCH | oklch(31.79% 0.182 272.3) |
| XYZ | xyz(5.4889, 2.6544, 25.0289) |
| Luminance | 0.0266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.48
Darkblue
#00008B
ΔE00 3.18
Cobalt Blue
#030AA7
ΔE00 3.74
Navy
#000080
ΔE00 3.89
Royal Blue (survey)
#0504AA
ΔE00 4.22
Indigo (survey)
#380282
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D148C #838C14
analogous
#14478C #1D148C #59148C
triadic
#1D148C #8C1D14 #148C1D
tetradic
#1D148C #8C1447 #838C14 #148C59
square
#1D148C #8C1447 #838C14 #148C59
split-complementary
#1D148C #8C5914 #478C14
monochromatic
#070521 #120C56 #1D148C #281CC2 #4538E3
Accessibility & contrast
On white
13.72
#1D148C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#1D148C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D148C
13.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D148C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D148C | 1.00 | 13.72 | 1.53 | 13.72 |
| #FFFFFF | 13.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338F
Deuteranopia (green-blind)
#00278A
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1d148c; /* rgb */ color: rgb(29, 20, 140); /* oklch */ color: oklch(31.8% 0.182 272.3);
Tailwind
colors: {
custom: {
50: '#6f56af',
500: '#1d148c',
950: '#000000',
},
}SCSS
$custom: #1d148c; $custom-light: #6f56af; $custom-dark: #000000;
JSON
{
"hex": "#1d148c",
"rgb": {
"r": 29,
"g": 20,
"b": 140
},
"hsl": {
"h": 244.5,
"s": 75,
"l": 31.373
},
"oklch": {
"l": 0.3179,
"c": 0.18196,
"h": 272.3
},
"luminance": 0.02655
}Semantic roles & 50–950 ramp
primary
#1D148C
secondary
#B6C03C
accent
#F236E4
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880