#1C177B#1C177B
#1C177B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.159 H 273.4°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).
Color values
| HEX | #1C177B |
|---|---|
| RGB | rgb(28, 23, 123) |
| HSL | hsl(243, 68%, 29%) |
| HSV | hsv(243, 81%, 48%) |
| CMYK | cmyk(77.2%, 81.3%, 0%, 51.8%) |
| CIE-LAB | lab(16.94, 37.00, -54.87) |
| CIE-LCH | lch(16.94, 66.18, 303.99°) |
| OKLab | oklab(30.01% 0.0093 -0.1587) |
| OKLCH | oklch(30.01% 0.159 273.4) |
| XYZ | xyz(4.3592, 2.2893, 18.9472) |
| Luminance | 0.0229 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.03
Royal
#0C1793
ΔE00 3.56
Dark Royal Blue
#02066F
ΔE00 3.88
Deep Blue
#040273
ΔE00 4.19
Navy
#000080
ΔE00 4.23
Darkblue
#00008B
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C177B #767B17
analogous
#17447B #1C177B #4E177B
triadic
#1C177B #7B1C17 #177B1C
tetradic
#1C177B #7B1744 #767B17 #177B4E
square
#1C177B #7B1744 #767B17 #177B4E
split-complementary
#1C177B #7B4E17 #447B17
monochromatic
#06051A #100D47 #1C177B #2821AF #3C33D9
Accessibility & contrast
On white
14.40
#1C177B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#1C177B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C177B
14.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C177B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C177B | 1.00 | 14.40 | 1.46 | 14.40 |
| #FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002579
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1c177b; /* rgb */ color: rgb(28, 23, 123); /* oklch */ color: oklch(30.0% 0.159 273.4);
Tailwind
colors: {
custom: {
50: '#6a56a2',
500: '#1c177b',
950: '#000000',
},
}SCSS
$custom: #1c177b; $custom-light: #6a56a2; $custom-dark: #000000;
JSON
{
"hex": "#1c177b",
"rgb": {
"r": 28,
"g": 23,
"b": 123
},
"hsl": {
"h": 243,
"s": 68.493,
"l": 28.627
},
"oklch": {
"l": 0.30006,
"c": 0.15902,
"h": 273.4
},
"luminance": 0.0229
}Semantic roles & 50–950 ramp
primary
#1C177B
secondary
#AAB03E
accent
#EB3CE3
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F