#1C168E#1C168E
#1C168E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.183 H 271.5°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).
Color values
| HEX | #1C168E |
|---|---|
| RGB | rgb(28, 22, 142) |
| HSL | hsl(243, 73%, 32%) |
| HSV | hsv(243, 85%, 56%) |
| CMYK | cmyk(80.3%, 84.5%, 0%, 44.3%) |
| CIE-LAB | lab(19.11, 43.76, -63.26) |
| CIE-LCH | lch(19.11, 76.92, 304.67°) |
| OKLab | oklab(32.2% 0.0049 -0.1831) |
| OKLCH | oklch(32.2% 0.183 271.5) |
| XYZ | xyz(5.6466, 2.7731, 25.8236) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.12
Darkblue
#00008B
ΔE00 3.52
Cobalt Blue
#030AA7
ΔE00 3.60
Royal Blue (survey)
#0504AA
ΔE00 4.12
Navy
#000080
ΔE00 4.30
Indigo (survey)
#380282
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C168E #888E16
analogous
#164C8E #1C168E #58168E
triadic
#1C168E #8E1C16 #168E1C
tetradic
#1C168E #8E164C #888E16 #168E58
square
#1C168E #8E164C #888E16 #168E58
split-complementary
#1C168E #8E5816 #4C8E16
monochromatic
#070624 #120E59 #1C168E #261EC3 #463DE1
Accessibility & contrast
On white
13.51
#1C168E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1C168E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C168E
13.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C168E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C168E | 1.00 | 13.51 | 1.55 | 13.51 |
| #FFFFFF | 13.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003491
Deuteranopia (green-blind)
#00288C
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1c168e; /* rgb */ color: rgb(28, 22, 142); /* oklch */ color: oklch(32.2% 0.183 271.5);
Tailwind
colors: {
custom: {
50: '#6f57b0',
500: '#1c168e',
950: '#000000',
},
}SCSS
$custom: #1c168e; $custom-light: #6f57b0; $custom-dark: #000000;
JSON
{
"hex": "#1c168e",
"rgb": {
"r": 28,
"g": 22,
"b": 142
},
"hsl": {
"h": 243,
"s": 73.171,
"l": 32.157
},
"oklch": {
"l": 0.32197,
"c": 0.18313,
"h": 271.5
},
"luminance": 0.02774
}Semantic roles & 50–950 ramp
primary
#1C168E
secondary
#BAC13F
accent
#F038E7
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880