#1C177A#1C177A
#1C177A is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.158 H 273.5°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).
Color values
| HEX | #1C177A |
|---|---|
| RGB | rgb(28, 23, 122) |
| HSL | hsl(243, 68%, 28%) |
| HSV | hsv(243, 81%, 48%) |
| CMYK | cmyk(77%, 81.1%, 0%, 52.2%) |
| CIE-LAB | lab(16.82, 36.66, -54.43) |
| CIE-LCH | lch(16.82, 65.63, 303.97°) |
| OKLab | oklab(29.89% 0.0096 -0.1575) |
| OKLCH | oklch(29.89% 0.158 273.5) |
| XYZ | xyz(4.2970, 2.2644, 18.6192) |
| Luminance | 0.0226 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.89
Royal
#0C1793
ΔE00 3.71
Dark Royal Blue
#02066F
ΔE00 3.83
Deep Blue
#040273
ΔE00 4.17
Navy
#000080
ΔE00 4.29
Darkblue
#00008B
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C177A #757A17
analogous
#17437A #1C177A #4D177A
triadic
#1C177A #7A1C17 #177A1C
tetradic
#1C177A #7A1743 #757A17 #177A4D
square
#1C177A #7A1743 #757A17 #177A4D
split-complementary
#1C177A #7A4D17 #437A17
monochromatic
#06051A #100D47 #1C177A #2821AD #3B33D9
Accessibility & contrast
On white
14.45
#1C177A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#1C177A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C177A
14.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C177A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C177A | 1.00 | 14.45 | 1.45 | 14.45 |
| #FFFFFF | 14.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7D
Deuteranopia (green-blind)
#002578
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1c177a; /* rgb */ color: rgb(28, 23, 122); /* oklch */ color: oklch(29.9% 0.158 273.5);
Tailwind
colors: {
custom: {
50: '#6a56a2',
500: '#1c177a',
950: '#000000',
},
}SCSS
$custom: #1c177a; $custom-light: #6a56a2; $custom-dark: #000000;
JSON
{
"hex": "#1c177a",
"rgb": {
"r": 28,
"g": 23,
"b": 122
},
"hsl": {
"h": 243.03,
"s": 68.276,
"l": 28.431
},
"oklch": {
"l": 0.29887,
"c": 0.15776,
"h": 273.5
},
"luminance": 0.02265
}Semantic roles & 50–950 ramp
primary
#1C177A
secondary
#A9AF3E
accent
#EB3DE2
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F