#1C2872#1C2872
#1C2872 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.127 H 270.3°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).
Color values
| HEX | #1C2872 |
|---|---|
| RGB | rgb(28, 40, 114) |
| HSL | hsl(232, 61%, 28%) |
| HSV | hsv(232, 75%, 45%) |
| CMYK | cmyk(75.4%, 64.9%, 0%, 55.3%) |
| CIE-LAB | lab(19.96, 22.80, -44.12) |
| CIE-LCH | lch(19.96, 49.67, 297.33°) |
| OKLab | oklab(31.9% 0.0006 -0.1274) |
| OKLCH | oklch(31.9% 0.127 270.3) |
| XYZ | xyz(4.2739, 2.9789, 16.2661) |
| Luminance | 0.0298 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.56
Marine
#042E60
ΔE00 6.19
Royal
#0C1793
ΔE00 7.46
Navy Blue
#1B2A4A
ΔE00 8.33
Marine Blue
#01386A
ΔE00 8.40
Darkslateblue
#483D8B
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C2872 #72661C
analogous
#1C5372 #1C2872 #3B1C72
triadic
#1C2872 #721C28 #28721C
tetradic
#1C2872 #721C53 #72661C #1C723B
square
#1C2872 #721C53 #72661C #1C723B
split-complementary
#1C2872 #723B1C #53721C
monochromatic
#060919 #101741 #1C2872 #2839A3 #3A4FCF
Accessibility & contrast
On white
13.16
#1C2872 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#1C2872 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C2872
13.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C2872 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C2872 | 1.00 | 13.16 | 1.60 | 13.16 |
| #FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003474
Deuteranopia (green-blind)
#002C71
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1c2872; /* rgb */ color: rgb(28, 40, 114); /* oklch */ color: oklch(31.9% 0.127 270.3);
Tailwind
colors: {
custom: {
50: '#66619b',
500: '#1c2872',
950: '#000000',
},
}SCSS
$custom: #1c2872; $custom-light: #66619b; $custom-dark: #000000;
JSON
{
"hex": "#1c2872",
"rgb": {
"r": 28,
"g": 40,
"b": 114
},
"hsl": {
"h": 231.628,
"s": 60.563,
"l": 27.843
},
"oklch": {
"l": 0.31896,
"c": 0.12742,
"h": 270.3
},
"luminance": 0.02979
}Semantic roles & 50–950 ramp
primary
#1C2872
secondary
#A69943
accent
#CD44E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E