#1C168B#1C168B
#1C168B is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.180 H 271.8°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).
Color values
| HEX | #1C168B |
|---|---|
| RGB | rgb(28, 22, 139) |
| HSL | hsl(243, 73%, 32%) |
| HSV | hsv(243, 84%, 55%) |
| CMYK | cmyk(79.9%, 84.2%, 0%, 45.5%) |
| CIE-LAB | lab(18.73, 42.80, -62.02) |
| CIE-LCH | lch(18.73, 75.35, 304.61°) |
| OKLab | oklab(31.83% 0.0057 -0.1794) |
| OKLCH | oklch(31.83% 0.18 271.8) |
| XYZ | xyz(5.4244, 2.6842, 24.6533) |
| Luminance | 0.0268 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.39
Darkblue
#00008B
ΔE00 3.49
Cobalt Blue
#030AA7
ΔE00 3.99
Navy
#000080
ΔE00 4.12
Midnight Blue
#191970
ΔE00 4.41
Royal Blue (survey)
#0504AA
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C168B #858B16
analogous
#164B8B #1C168B #57168B
triadic
#1C168B #8B1C16 #168B1C
tetradic
#1C168B #8B164B #858B16 #168B57
square
#1C168B #8B164B #858B16 #168B57
split-complementary
#1C168B #8B5716 #4B8B16
monochromatic
#070521 #110E56 #1C168B #271EC0 #443BE0
Accessibility & contrast
On white
13.66
#1C168B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#1C168B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C168B
13.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C168B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C168B | 1.00 | 13.66 | 1.54 | 13.66 |
| #FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338E
Deuteranopia (green-blind)
#002889
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1c168b; /* rgb */ color: rgb(28, 22, 139); /* oklch */ color: oklch(31.8% 0.180 271.8);
Tailwind
colors: {
custom: {
50: '#6e57ae',
500: '#1c168b',
950: '#000000',
},
}SCSS
$custom: #1c168b; $custom-light: #6e57ae; $custom-dark: #000000;
JSON
{
"hex": "#1c168b",
"rgb": {
"r": 28,
"g": 22,
"b": 139
},
"hsl": {
"h": 243.077,
"s": 72.671,
"l": 31.569
},
"oklch": {
"l": 0.31826,
"c": 0.17954,
"h": 271.8
},
"luminance": 0.02685
}Semantic roles & 50–950 ramp
primary
#1C168B
secondary
#B8BF3E
accent
#EF38E6
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090310
muted
#7B787F