#1C1F87#1C1F87
#1C1F87 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.167 H 271.2°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).
Color values
| HEX | #1C1F87 |
|---|---|
| RGB | rgb(28, 31, 135) |
| HSL | hsl(238, 66%, 32%) |
| HSV | hsv(238, 79%, 53%) |
| CMYK | cmyk(79.3%, 77%, 0%, 47.1%) |
| CIE-LAB | lab(19.95, 36.57, -57.50) |
| CIE-LCH | lch(19.95, 68.14, 302.46°) |
| OKLab | oklab(32.54% 0.0035 -0.1665) |
| OKLCH | oklch(32.54% 0.167 271.2) |
| XYZ | xyz(5.3406, 2.9755, 23.2098) |
| Luminance | 0.0298 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.60
Midnight Blue
#191970
ΔE00 3.69
Darkblue
#00008B
ΔE00 5.52
Cobalt Blue
#030AA7
ΔE00 5.57
Navy
#000080
ΔE00 5.87
Dark Royal Blue
#02066F
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C1F87 #87841C
analogous
#1C5587 #1C1F87 #4F1C87
triadic
#1C1F87 #871C1F #1F871C
tetradic
#1C1F87 #871C55 #87841C #1C874F
square
#1C1F87 #871C55 #87841C #1C874F
split-complementary
#1C1F87 #874F1C #55871C
monochromatic
#070822 #111354 #1C1F87 #272BBA #4549D8
Accessibility & contrast
On white
13.16
#1C1F87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#1C1F87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C1F87
13.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C1F87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C1F87 | 1.00 | 13.16 | 1.60 | 13.16 |
| #FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358A
Deuteranopia (green-blind)
#002B85
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1c1f87; /* rgb */ color: rgb(28, 31, 135); /* oklch */ color: oklch(32.5% 0.167 271.2);
Tailwind
colors: {
custom: {
50: '#6c5cab',
500: '#1c1f87',
950: '#000000',
},
}SCSS
$custom: #1c1f87; $custom-light: #6c5cab; $custom-dark: #000000;
JSON
{
"hex": "#1c1f87",
"rgb": {
"r": 28,
"g": 31,
"b": 135
},
"hsl": {
"h": 238.318,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.32537,
"c": 0.16652,
"h": 271.2
},
"luminance": 0.02976
}Semantic roles & 50–950 ramp
primary
#1C1F87
secondary
#BAB745
accent
#E43FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F