#1C187A#1C187A
#1C187A is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.157 H 273.3°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).
Color values
| HEX | #1C187A |
|---|---|
| RGB | rgb(28, 24, 122) |
| HSL | hsl(242, 67%, 29%) |
| HSV | hsv(242, 80%, 48%) |
| CMYK | cmyk(77%, 80.3%, 0%, 52.2%) |
| CIE-LAB | lab(17.01, 36.11, -54.11) |
| CIE-LCH | lch(17.01, 65.05, 303.72°) |
| OKLab | oklab(30.02% 0.0091 -0.1565) |
| OKLCH | oklch(30.02% 0.157 273.3) |
| XYZ | xyz(4.3172, 2.3048, 18.6259) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.78
Royal
#0C1793
ΔE00 3.74
Dark Royal Blue
#02066F
ΔE00 4.01
Deep Blue
#040273
ΔE00 4.38
Navy
#000080
ΔE00 4.50
Darkblue
#00008B
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C187A #767A18
analogous
#18457A #1C187A #4D187A
triadic
#1C187A #7A1C18 #187A1C
tetradic
#1C187A #7A1845 #767A18 #187A4D
square
#1C187A #7A1845 #767A18 #187A4D
split-complementary
#1C187A #7A4D18 #457A18
monochromatic
#06051A #100E47 #1C187A #2822AD #3C35D7
Accessibility & contrast
On white
14.37
#1C187A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#1C187A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C187A
14.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C187A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C187A | 1.00 | 14.37 | 1.46 | 14.37 |
| #FFFFFF | 14.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7D
Deuteranopia (green-blind)
#002578
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1c187a; /* rgb */ color: rgb(28, 24, 122); /* oklch */ color: oklch(30.0% 0.157 273.3);
Tailwind
colors: {
custom: {
50: '#6a57a2',
500: '#1c187a',
950: '#000000',
},
}SCSS
$custom: #1c187a; $custom-light: #6a57a2; $custom-dark: #000000;
JSON
{
"hex": "#1c187a",
"rgb": {
"r": 28,
"g": 24,
"b": 122
},
"hsl": {
"h": 242.449,
"s": 67.123,
"l": 28.627
},
"oklch": {
"l": 0.30023,
"c": 0.15682,
"h": 273.3
},
"luminance": 0.02305
}Semantic roles & 50–950 ramp
primary
#1C187A
secondary
#AAAF3F
accent
#EA3EE3
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F