#1C158F#1C158F
#1C158F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.185 H 271.5°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).
Color values
| HEX | #1C158F |
|---|---|
| RGB | rgb(28, 21, 143) |
| HSL | hsl(243, 74%, 32%) |
| HSV | hsv(243, 85%, 56%) |
| CMYK | cmyk(80.4%, 85.3%, 0%, 43.9%) |
| CIE-LAB | lab(19.08, 44.54, -63.94) |
| CIE-LCH | lch(19.08, 77.92, 304.86°) |
| OKLab | oklab(32.21% 0.0049 -0.185) |
| OKLCH | oklch(32.21% 0.185 271.5) |
| XYZ | xyz(5.7033, 2.7657, 26.2145) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.12
Darkblue
#00008B
ΔE00 3.38
Cobalt Blue
#030AA7
ΔE00 3.40
Royal Blue (survey)
#0504AA
ΔE00 3.91
Navy
#000080
ΔE00 4.22
Indigo (survey)
#380282
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C158F #888F15
analogous
#154B8F #1C158F #59158F
triadic
#1C158F #8F1C15 #158F1C
tetradic
#1C158F #8F154B #888F15 #158F59
square
#1C158F #8F154B #888F15 #158F59
split-complementary
#1C158F #8F5915 #4B8F15
monochromatic
#070524 #120D5A #1C158F #261DC4 #463CE2
Accessibility & contrast
On white
13.52
#1C158F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1C158F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C158F
13.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C158F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C158F | 1.00 | 13.52 | 1.55 | 13.52 |
| #FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#00288D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1c158f; /* rgb */ color: rgb(28, 21, 143); /* oklch */ color: oklch(32.2% 0.185 271.5);
Tailwind
colors: {
custom: {
50: '#7057b1',
500: '#1c158f',
950: '#000000',
},
}SCSS
$custom: #1c158f; $custom-light: #7057b1; $custom-dark: #000000;
JSON
{
"hex": "#1c158f",
"rgb": {
"r": 28,
"g": 21,
"b": 143
},
"hsl": {
"h": 243.443,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.32212,
"c": 0.18505,
"h": 271.5
},
"luminance": 0.02766
}Semantic roles & 50–950 ramp
primary
#1C158F
secondary
#BAC23E
accent
#F137E6
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880