#1C177E#1C177E
#1C177E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.163 H 273.0°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).
Color values
| HEX | #1C177E |
|---|---|
| RGB | rgb(28, 23, 126) |
| HSL | hsl(243, 69%, 29%) |
| HSV | hsv(243, 82%, 49%) |
| CMYK | cmyk(77.8%, 81.7%, 0%, 50.6%) |
| CIE-LAB | lab(17.30, 38.02, -56.19) |
| CIE-LCH | lch(17.30, 67.84, 304.08°) |
| OKLab | oklab(30.37% 0.0086 -0.1626) |
| OKLCH | oklch(30.37% 0.163 273) |
| XYZ | xyz(4.5499, 2.3655, 19.9514) |
| Luminance | 0.0237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.47
Royal
#0C1793
ΔE00 3.11
Dark Royal Blue
#02066F
ΔE00 4.07
Navy
#000080
ΔE00 4.12
Darkblue
#00008B
ΔE00 4.24
Deep Blue
#040273
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C177E #797E17
analogous
#17467E #1C177E #50177E
triadic
#1C177E #7E1C17 #177E1C
tetradic
#1C177E #7E1746 #797E17 #177E50
square
#1C177E #7E1746 #797E17 #177E50
split-complementary
#1C177E #7E5017 #467E17
monochromatic
#06051A #100E4A #1C177E #2820B2 #3D35DA
Accessibility & contrast
On white
14.25
#1C177E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#1C177E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C177E
14.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C177E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C177E | 1.00 | 14.25 | 1.47 | 14.25 |
| #FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00257C
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1c177e; /* rgb */ color: rgb(28, 23, 126); /* oklch */ color: oklch(30.4% 0.163 273.0);
Tailwind
colors: {
custom: {
50: '#6b57a5',
500: '#1c177e',
950: '#000000',
},
}SCSS
$custom: #1c177e; $custom-light: #6b57a5; $custom-dark: #000000;
JSON
{
"hex": "#1c177e",
"rgb": {
"r": 28,
"g": 23,
"b": 126
},
"hsl": {
"h": 242.913,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.30365,
"c": 0.1628,
"h": 273
},
"luminance": 0.02366
}Semantic roles & 50–950 ramp
primary
#1C177E
secondary
#ADB33E
accent
#EC3CE3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F