#1C1771#1C1771
#1C1771 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.8% C 0.146 H 274.6°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1C1771 |
|---|---|
| RGB | rgb(28, 23, 113) |
| HSL | hsl(243, 66%, 27%) |
| HSV | hsv(243, 80%, 44%) |
| CMYK | cmyk(75.2%, 79.6%, 0%, 55.7%) |
| CIE-LAB | lab(15.76, 33.56, -50.39) |
| CIE-LCH | lch(15.76, 60.54, 303.67°) |
| OKLab | oklab(28.83% 0.0117 -0.1457) |
| OKLCH | oklch(28.83% 0.146 274.6) |
| XYZ | xyz(3.7649, 2.0516, 15.8172) |
| Luminance | 0.0205 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.77
Dark Royal Blue
#02066F
ΔE00 3.70
Darkblue (survey)
#030764
ΔE00 3.98
Deep Blue
#040273
ΔE00 4.31
Navy
#000080
ΔE00 5.01
Royal
#0C1793
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C1771 #6C7117
analogous
#173F71 #1C1771 #491771
triadic
#1C1771 #711C17 #17711C
tetradic
#1C1771 #71173F #6C7117 #177149
square
#1C1771 #71173F #6C7117 #177149
split-complementary
#1C1771 #714917 #3F7117
monochromatic
#060519 #0F0D3E #1C1771 #2921A4 #372ED4
Accessibility & contrast
On white
14.89
#1C1771 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#1C1771 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C1771
14.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C1771 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C1771 | 1.00 | 14.89 | 1.41 | 14.89 |
| #FFFFFF | 14.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00236F
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #1c1771; /* rgb */ color: rgb(28, 23, 113); /* oklch */ color: oklch(28.8% 0.146 274.6);
Tailwind
colors: {
custom: {
50: '#67569b',
500: '#1c1771',
950: '#000000',
},
}SCSS
$custom: #1c1771; $custom-light: #67569b; $custom-dark: #000000;
JSON
{
"hex": "#1c1771",
"rgb": {
"r": 28,
"g": 23,
"b": 113
},
"hsl": {
"h": 243.333,
"s": 66.176,
"l": 26.667
},
"oklch": {
"l": 0.28829,
"c": 0.14619,
"h": 274.6
},
"luminance": 0.02052
}Semantic roles & 50–950 ramp
primary
#1C1771
secondary
#A1A73D
accent
#E93FE0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E