#1C2187#1C2187
#1C2187 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.164 H 270.9°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).
Color values
| HEX | #1C2187 |
|---|---|
| RGB | rgb(28, 33, 135) |
| HSL | hsl(237, 66%, 32%) |
| HSV | hsv(237, 79%, 53%) |
| CMYK | cmyk(79.3%, 75.6%, 0%, 47.1%) |
| CIE-LAB | lab(20.37, 35.36, -56.79) |
| CIE-LCH | lch(20.37, 66.90, 301.91°) |
| OKLab | oklab(32.84% 0.0027 -0.1644) |
| OKLCH | oklch(32.84% 0.164 270.9) |
| XYZ | xyz(5.3944, 3.0833, 23.2278) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.00
Midnight Blue
#191970
ΔE00 3.84
Cobalt Blue
#030AA7
ΔE00 5.91
Darkblue
#00008B
ΔE00 6.03
Navy
#000080
ΔE00 6.37
Royal Blue (survey)
#0504AA
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C2187 #87821C
analogous
#1C5787 #1C2187 #4D1C87
triadic
#1C2187 #871C21 #21871C
tetradic
#1C2187 #871C57 #87821C #1C874D
square
#1C2187 #871C57 #87821C #1C874D
split-complementary
#1C2187 #874D1C #57871C
monochromatic
#070822 #111554 #1C2187 #272DBA #454CD8
Accessibility & contrast
On white
12.99
#1C2187 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#1C2187 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C2187
12.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C2187 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C2187 | 1.00 | 12.99 | 1.62 | 12.99 |
| #FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368A
Deuteranopia (green-blind)
#002C85
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1c2187; /* rgb */ color: rgb(28, 33, 135); /* oklch */ color: oklch(32.8% 0.164 270.9);
Tailwind
colors: {
custom: {
50: '#6c5dab',
500: '#1c2187',
950: '#000000',
},
}SCSS
$custom: #1c2187; $custom-light: #6c5dab; $custom-dark: #000000;
JSON
{
"hex": "#1c2187",
"rgb": {
"r": 28,
"g": 33,
"b": 135
},
"hsl": {
"h": 237.196,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.32842,
"c": 0.16446,
"h": 270.9
},
"luminance": 0.03084
}Semantic roles & 50–950 ramp
primary
#1C2187
secondary
#BAB445
accent
#E13FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F