#1C178F#1C178F
#1C178F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.4% C 0.184 H 271.4°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).
Color values
| HEX | #1C178F |
|---|---|
| RGB | rgb(28, 23, 143) |
| HSL | hsl(243, 72%, 33%) |
| HSV | hsv(243, 84%, 56%) |
| CMYK | cmyk(80.4%, 83.9%, 0%, 43.9%) |
| CIE-LAB | lab(19.40, 43.60, -63.41) |
| CIE-LCH | lch(19.40, 76.95, 304.51°) |
| OKLab | oklab(32.43% 0.0044 -0.1835) |
| OKLCH | oklch(32.43% 0.184 271.4) |
| XYZ | xyz(5.7415, 2.8422, 26.2273) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.01
Cobalt Blue
#030AA7
ΔE00 3.55
Darkblue
#00008B
ΔE00 3.72
Royal Blue (survey)
#0504AA
ΔE00 4.10
Navy
#000080
ΔE00 4.52
Indigo (survey)
#380282
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C178F #8A8F17
analogous
#174E8F #1C178F #58178F
triadic
#1C178F #8F1C17 #178F1C
tetradic
#1C178F #8F174E #8A8F17 #178F58
square
#1C178F #8F174E #8A8F17 #178F58
split-complementary
#1C178F #8F5817 #4E8F17
monochromatic
#070626 #120F5A #1C178F #261FC4 #4740E0
Accessibility & contrast
On white
13.39
#1C178F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#1C178F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C178F
13.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C178F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C178F | 1.00 | 13.39 | 1.57 | 13.39 |
| #FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#00298D
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1c178f; /* rgb */ color: rgb(28, 23, 143); /* oklch */ color: oklch(32.4% 0.184 271.4);
Tailwind
colors: {
custom: {
50: '#6f58b1',
500: '#1c178f',
950: '#000000',
},
}SCSS
$custom: #1c178f; $custom-light: #6f58b1; $custom-dark: #000000;
JSON
{
"hex": "#1c178f",
"rgb": {
"r": 28,
"g": 23,
"b": 143
},
"hsl": {
"h": 242.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.32433,
"c": 0.18354,
"h": 271.4
},
"luminance": 0.02843
}Semantic roles & 50–950 ramp
primary
#1C178F
secondary
#BBC141
accent
#EF39E7
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880