#1D138C#1D138C
#1D138C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.7% C 0.183 H 272.3°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).
Color values
| HEX | #1D138C |
|---|---|
| RGB | rgb(29, 19, 140) |
| HSL | hsl(245, 76%, 31%) |
| HSV | hsv(245, 86%, 55%) |
| CMYK | cmyk(79.3%, 86.4%, 0%, 45.1%) |
| CIE-LAB | lab(18.45, 44.56, -63.11) |
| CIE-LCH | lch(18.45, 77.25, 305.23°) |
| OKLab | oklab(31.69% 0.0074 -0.1825) |
| OKLCH | oklch(31.69% 0.183 272.3) |
| XYZ | xyz(5.4716, 2.6198, 25.0232) |
| Luminance | 0.0262 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.57
Darkblue
#00008B
ΔE00 3.02
Cobalt Blue
#030AA7
ΔE00 3.69
Navy
#000080
ΔE00 3.75
Royal Blue (survey)
#0504AA
ΔE00 4.16
Indigo (survey)
#380282
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D138C #828C13
analogous
#13458C #1D138C #59138C
triadic
#1D138C #8C1D13 #138C1D
tetradic
#1D138C #8C1345 #828C13 #138C59
square
#1D138C #8C1345 #828C13 #138C59
split-complementary
#1D138C #8C5913 #458C13
monochromatic
#070420 #120C56 #1D138C #281AC2 #4436E4
Accessibility & contrast
On white
13.78
#1D138C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#1D138C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D138C
13.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D138C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D138C | 1.00 | 13.78 | 1.52 | 13.78 |
| #FFFFFF | 13.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.78 | 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: #1d138c; /* rgb */ color: rgb(29, 19, 140); /* oklch */ color: oklch(31.7% 0.183 272.3);
Tailwind
colors: {
custom: {
50: '#6f56af',
500: '#1d138c',
950: '#000000',
},
}SCSS
$custom: #1d138c; $custom-light: #6f56af; $custom-dark: #000000;
JSON
{
"hex": "#1d138c",
"rgb": {
"r": 29,
"g": 19,
"b": 140
},
"hsl": {
"h": 244.959,
"s": 76.101,
"l": 31.176
},
"oklch": {
"l": 0.31686,
"c": 0.18268,
"h": 272.3
},
"luminance": 0.0262
}Semantic roles & 50–950 ramp
primary
#1D138C
secondary
#B5C03B
accent
#F335E3
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880