#1C187E#1C187E
#1C187E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.162 H 272.9°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).
Color values
| HEX | #1C187E |
|---|---|
| RGB | rgb(28, 24, 126) |
| HSL | hsl(242, 68%, 29%) |
| HSV | hsv(242, 81%, 49%) |
| CMYK | cmyk(77.8%, 81%, 0%, 50.6%) |
| CIE-LAB | lab(17.49, 37.47, -55.87) |
| CIE-LCH | lch(17.49, 67.27, 303.85°) |
| OKLab | oklab(30.5% 0.0082 -0.1617) |
| OKLCH | oklch(30.5% 0.162 272.9) |
| XYZ | xyz(4.5702, 2.4060, 19.9582) |
| Luminance | 0.0241 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.38
Royal
#0C1793
ΔE00 3.13
Dark Royal Blue
#02066F
ΔE00 4.23
Navy
#000080
ΔE00 4.33
Darkblue
#00008B
ΔE00 4.43
Deep Blue
#040273
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C187E #7A7E18
analogous
#18477E #1C187E #4F187E
triadic
#1C187E #7E1C18 #187E1C
tetradic
#1C187E #7E1847 #7A7E18 #187E4F
square
#1C187E #7E1847 #7A7E18 #187E4F
split-complementary
#1C187E #7E4F18 #477E18
monochromatic
#06051A #110E4B #1C187E #2722B1 #3E37D9
Accessibility & contrast
On white
14.18
#1C187E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#1C187E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C187E
14.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C187E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C187E | 1.00 | 14.18 | 1.48 | 14.18 |
| #FFFFFF | 14.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1c187e; /* rgb */ color: rgb(28, 24, 126); /* oklch */ color: oklch(30.5% 0.162 272.9);
Tailwind
colors: {
custom: {
50: '#6b57a5',
500: '#1c187e',
950: '#000000',
},
}SCSS
$custom: #1c187e; $custom-light: #6b57a5; $custom-dark: #000000;
JSON
{
"hex": "#1c187e",
"rgb": {
"r": 28,
"g": 24,
"b": 126
},
"hsl": {
"h": 242.353,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.30497,
"c": 0.16189,
"h": 272.9
},
"luminance": 0.02407
}Semantic roles & 50–950 ramp
primary
#1C187E
secondary
#AEB23F
accent
#EB3DE4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F