#1C2181#1C2181
#1C2181 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.157 H 271.3°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).
Color values
| HEX | #1C2181 |
|---|---|
| RGB | rgb(28, 33, 129) |
| HSL | hsl(237, 64%, 31%) |
| HSV | hsv(237, 78%, 51%) |
| CMYK | cmyk(78.3%, 74.4%, 0%, 49.4%) |
| CIE-LAB | lab(19.72, 33.20, -54.09) |
| CIE-LCH | lch(19.72, 63.47, 301.54°) |
| OKLab | oklab(32.18% 0.0036 -0.1566) |
| OKLCH | oklch(32.18% 0.157 271.3) |
| XYZ | xyz(4.9839, 2.9190, 21.0654) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.09
Royal
#0C1793
ΔE00 3.71
Dark Royal Blue
#02066F
ΔE00 6.27
Darkblue
#00008B
ΔE00 6.36
Navy
#000080
ΔE00 6.48
Deep Blue
#040273
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C2181 #817C1C
analogous
#1C5381 #1C2181 #491C81
triadic
#1C2181 #811C21 #21811C
tetradic
#1C2181 #811C53 #817C1C #1C8149
square
#1C2181 #811C53 #817C1C #1C8149
split-complementary
#1C2181 #81491C #53811C
monochromatic
#06071C #11144F #1C2181 #272EB3 #4249D6
Accessibility & contrast
On white
13.26
#1C2181 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#1C2181 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C2181
13.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C2181 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C2181 | 1.00 | 13.26 | 1.58 | 13.26 |
| #FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#002B7F
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1c2181; /* rgb */ color: rgb(28, 33, 129); /* oklch */ color: oklch(32.2% 0.157 271.3);
Tailwind
colors: {
custom: {
50: '#6b5da7',
500: '#1c2181',
950: '#000000',
},
}SCSS
$custom: #1c2181; $custom-light: #6b5da7; $custom-dark: #000000;
JSON
{
"hex": "#1c2181",
"rgb": {
"r": 28,
"g": 33,
"b": 129
},
"hsl": {
"h": 237.03,
"s": 64.331,
"l": 30.784
},
"oklch": {
"l": 0.32176,
"c": 0.15663,
"h": 271.3
},
"luminance": 0.0292
}Semantic roles & 50–950 ramp
primary
#1C2181
secondary
#B4AF44
accent
#DF40E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F