#1C179E#1C179E
#1C179E is a dark, highly saturated blue. Relative luminance 0.033; OKLCH L 34.3% C 0.201 H 270.2°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).
Color values
| HEX | #1C179E |
|---|---|
| RGB | rgb(28, 23, 158) |
| HSL | hsl(242, 75%, 35%) |
| HSV | hsv(242, 85%, 62%) |
| CMYK | cmyk(82.3%, 85.4%, 0%, 38%) |
| CIE-LAB | lab(21.31, 48.31, -69.49) |
| CIE-LCH | lch(21.31, 84.63, 304.81°) |
| OKLab | oklab(34.3% 0.0008 -0.2011) |
| OKLCH | oklch(34.3% 0.201 270.2) |
| XYZ | xyz(6.9547, 3.3275, 32.6168) |
| Luminance | 0.0333 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.90
Cobalt Blue
#030AA7
ΔE00 2.09
Royal Blue (survey)
#0504AA
ΔE00 2.64
Ultramarine
#2000B1
ΔE00 3.30
Indigo Blue
#3A18B1
ΔE00 3.96
Darkblue
#00008B
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C179E #999E17
analogous
#17569E #1C179E #5F179E
triadic
#1C179E #9E1C17 #179E1C
tetradic
#1C179E #9E1756 #999E17 #179E5F
square
#1C179E #9E1756 #999E17 #179E5F
split-complementary
#1C179E #9E5F17 #569E17
monochromatic
#090733 #130F69 #1C179E #251FD3 #504BE5
Accessibility & contrast
On white
12.61
#1C179E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#1C179E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C179E
12.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C179E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C179E | 1.00 | 12.61 | 1.67 | 12.61 |
| #FFFFFF | 12.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003AA2
Deuteranopia (green-blind)
#002C9C
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1c179e; /* rgb */ color: rgb(28, 23, 158); /* oklch */ color: oklch(34.3% 0.201 270.2);
Tailwind
colors: {
custom: {
50: '#7359bc',
500: '#1c179e',
950: '#000000',
},
}SCSS
$custom: #1c179e; $custom-light: #7359bc; $custom-dark: #000000;
JSON
{
"hex": "#1c179e",
"rgb": {
"r": 28,
"g": 23,
"b": 158
},
"hsl": {
"h": 242.222,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.34297,
"c": 0.2011,
"h": 270.2
},
"luminance": 0.03328
}Semantic roles & 50–950 ramp
primary
#1C179E
secondary
#C2C64A
accent
#F137EA
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981