#1C2371#1C2371
#1C2371 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.132 H 271.9°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).
Color values
| HEX | #1C2371 |
|---|---|
| RGB | rgb(28, 35, 113) |
| HSL | hsl(235, 60%, 28%) |
| HSV | hsv(235, 75%, 44%) |
| CMYK | cmyk(75.2%, 69%, 0%, 55.7%) |
| CIE-LAB | lab(18.54, 25.88, -45.80) |
| CIE-LCH | lch(18.54, 52.60, 299.47°) |
| OKLab | oklab(30.83% 0.0044 -0.1324) |
| OKLCH | oklch(30.83% 0.132 271.9) |
| XYZ | xyz(4.0596, 2.6408, 15.9154) |
| Luminance | 0.0264 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.92
Royal
#0C1793
ΔE00 6.51
Darkblue (survey)
#030764
ΔE00 6.98
Dark Royal Blue
#02066F
ΔE00 7.00
Marine
#042E60
ΔE00 7.51
Deep Blue
#040273
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C2371 #716A1C
analogous
#1C4D71 #1C2371 #401C71
triadic
#1C2371 #711C23 #23711C
tetradic
#1C2371 #711C4D #716A1C #1C7140
square
#1C2371 #711C4D #716A1C #1C7140
split-complementary
#1C2371 #71401C #4D711C
monochromatic
#060819 #101440 #1C2371 #2832A2 #3946CE
Accessibility & contrast
On white
13.74
#1C2371 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#1C2371 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C2371
13.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C2371 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C2371 | 1.00 | 13.74 | 1.53 | 13.74 |
| #FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003173
Deuteranopia (green-blind)
#002970
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1c2371; /* rgb */ color: rgb(28, 35, 113); /* oklch */ color: oklch(30.8% 0.132 271.9);
Tailwind
colors: {
custom: {
50: '#665e9b',
500: '#1c2371',
950: '#000000',
},
}SCSS
$custom: #1c2371; $custom-light: #665e9b; $custom-dark: #000000;
JSON
{
"hex": "#1c2371",
"rgb": {
"r": 28,
"g": 35,
"b": 113
},
"hsl": {
"h": 235.059,
"s": 60.284,
"l": 27.647
},
"oklch": {
"l": 0.30828,
"c": 0.13243,
"h": 271.9
},
"luminance": 0.02641
}Semantic roles & 50–950 ramp
primary
#1C2371
secondary
#A69D43
accent
#D644E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E