#1C2871#1C2871
#1C2871 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.8% C 0.126 H 270.3°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).
Color values
| HEX | #1C2871 |
|---|---|
| RGB | rgb(28, 40, 113) |
| HSL | hsl(232, 60%, 28%) |
| HSV | hsv(232, 75%, 44%) |
| CMYK | cmyk(75.2%, 64.6%, 0%, 55.7%) |
| CIE-LAB | lab(19.87, 22.41, -43.63) |
| CIE-LCH | lch(19.87, 49.05, 297.19°) |
| OKLab | oklab(31.8% 0.0007 -0.126) |
| OKLCH | oklch(31.8% 0.126 270.3) |
| XYZ | xyz(4.2173, 2.9563, 15.9679) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.63
Marine
#042E60
ΔE00 6.08
Royal
#0C1793
ΔE00 7.62
Navy Blue
#1B2A4A
ΔE00 8.18
Marine Blue
#01386A
ΔE00 8.35
Darkslateblue
#483D8B
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C2871 #71651C
analogous
#1C5371 #1C2871 #3A1C71
triadic
#1C2871 #711C28 #28711C
tetradic
#1C2871 #711C53 #71651C #1C713A
square
#1C2871 #711C53 #71651C #1C713A
split-complementary
#1C2871 #713A1C #53711C
monochromatic
#060919 #101740 #1C2871 #2839A2 #394ECE
Accessibility & contrast
On white
13.20
#1C2871 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#1C2871 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C2871
13.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C2871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C2871 | 1.00 | 13.20 | 1.59 | 13.20 |
| #FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#002C70
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1c2871; /* rgb */ color: rgb(28, 40, 113); /* oklch */ color: oklch(31.8% 0.126 270.3);
Tailwind
colors: {
custom: {
50: '#66619b',
500: '#1c2871',
950: '#000000',
},
}SCSS
$custom: #1c2871; $custom-light: #66619b; $custom-dark: #000000;
JSON
{
"hex": "#1c2871",
"rgb": {
"r": 28,
"g": 40,
"b": 113
},
"hsl": {
"h": 231.529,
"s": 60.284,
"l": 27.647
},
"oklch": {
"l": 0.318,
"c": 0.12597,
"h": 270.3
},
"luminance": 0.02957
}Semantic roles & 50–950 ramp
primary
#1C2871
secondary
#A69843
accent
#CD44E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E