#1C168F#1C168F
#1C168F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.184 H 271.4°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).
Color values
| HEX | #1C168F |
|---|---|
| RGB | rgb(28, 22, 143) |
| HSL | hsl(243, 73%, 32%) |
| HSV | hsv(243, 85%, 56%) |
| CMYK | cmyk(80.4%, 84.6%, 0%, 43.9%) |
| CIE-LAB | lab(19.24, 44.08, -63.68) |
| CIE-LCH | lch(19.24, 77.44, 304.69°) |
| OKLab | oklab(32.32% 0.0047 -0.1842) |
| OKLCH | oklch(32.32% 0.184 271.4) |
| XYZ | xyz(5.7221, 2.8032, 26.2208) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.05
Cobalt Blue
#030AA7
ΔE00 3.47
Darkblue
#00008B
ΔE00 3.54
Royal Blue (survey)
#0504AA
ΔE00 4.00
Navy
#000080
ΔE00 4.37
Indigo (survey)
#380282
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C168F #898F16
analogous
#164D8F #1C168F #58168F
triadic
#1C168F #8F1C16 #168F1C
tetradic
#1C168F #8F164D #898F16 #168F58
square
#1C168F #8F164D #898F16 #168F58
split-complementary
#1C168F #8F5816 #4D8F16
monochromatic
#070625 #120E5A #1C168F #261EC4 #463EE1
Accessibility & contrast
On white
13.45
#1C168F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#1C168F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C168F
13.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C168F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C168F | 1.00 | 13.45 | 1.56 | 13.45 |
| #FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#00288D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1c168f; /* rgb */ color: rgb(28, 22, 143); /* oklch */ color: oklch(32.3% 0.184 271.4);
Tailwind
colors: {
custom: {
50: '#6f57b1',
500: '#1c168f',
950: '#000000',
},
}SCSS
$custom: #1c168f; $custom-light: #6f57b1; $custom-dark: #000000;
JSON
{
"hex": "#1c168f",
"rgb": {
"r": 28,
"g": 22,
"b": 143
},
"hsl": {
"h": 242.975,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.32321,
"c": 0.18431,
"h": 271.4
},
"luminance": 0.02804
}Semantic roles & 50–950 ramp
primary
#1C168F
secondary
#BBC13F
accent
#F038E7
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880