#1C1F86#1C1F86
#1C1F86 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.165 H 271.3°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).
Color values
| HEX | #1C1F86 |
|---|---|
| RGB | rgb(28, 31, 134) |
| HSL | hsl(238, 65%, 32%) |
| HSV | hsv(238, 79%, 53%) |
| CMYK | cmyk(79.1%, 76.9%, 0%, 47.5%) |
| CIE-LAB | lab(19.83, 36.22, -57.06) |
| CIE-LCH | lch(19.83, 67.58, 302.41°) |
| OKLab | oklab(32.42% 0.0037 -0.1652) |
| OKLCH | oklch(32.42% 0.165 271.3) |
| XYZ | xyz(5.2705, 2.9475, 22.8408) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.72
Midnight Blue
#191970
ΔE00 3.55
Darkblue
#00008B
ΔE00 5.56
Cobalt Blue
#030AA7
ΔE00 5.70
Navy
#000080
ΔE00 5.87
Dark Royal Blue
#02066F
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C1F86 #86831C
analogous
#1C5486 #1C1F86 #4E1C86
triadic
#1C1F86 #861C1F #1F861C
tetradic
#1C1F86 #861C54 #86831C #1C864E
square
#1C1F86 #861C54 #86831C #1C864E
split-complementary
#1C1F86 #864E1C #54861C
monochromatic
#070821 #111353 #1C1F86 #272BB9 #4449D8
Accessibility & contrast
On white
13.21
#1C1F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#1C1F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C1F86
13.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C1F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C1F86 | 1.00 | 13.21 | 1.59 | 13.21 |
| #FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002B84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1c1f86; /* rgb */ color: rgb(28, 31, 134); /* oklch */ color: oklch(32.4% 0.165 271.3);
Tailwind
colors: {
custom: {
50: '#6c5caa',
500: '#1c1f86',
950: '#000000',
},
}SCSS
$custom: #1c1f86; $custom-light: #6c5caa; $custom-dark: #000000;
JSON
{
"hex": "#1c1f86",
"rgb": {
"r": 28,
"g": 31,
"b": 134
},
"hsl": {
"h": 238.302,
"s": 65.432,
"l": 31.765
},
"oklch": {
"l": 0.32423,
"c": 0.16524,
"h": 271.3
},
"luminance": 0.02948
}Semantic roles & 50–950 ramp
primary
#1C1F86
secondary
#B9B645
accent
#E43FE8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F