#1C2C7E#1C2C7E
#1C2C7E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.8% C 0.139 H 268.9°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).
Color values
| HEX | #1C2C7E |
|---|---|
| RGB | rgb(28, 44, 126) |
| HSL | hsl(230, 64%, 30%) |
| HSV | hsv(230, 78%, 49%) |
| CMYK | cmyk(77.8%, 65.1%, 0%, 50.6%) |
| CIE-LAB | lab(22.14, 24.74, -48.22) |
| CIE-LCH | lch(22.14, 54.19, 297.16°) |
| OKLab | oklab(33.85% -0.0026 -0.1394) |
| OKLCH | oklch(33.85% 0.139 268.9) |
| XYZ | xyz(5.1442, 3.5540, 20.1495) |
| Luminance | 0.0355 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.61
Marine
#042E60
ΔE00 6.68
Royal
#0C1793
ΔE00 6.86
Sapphire (survey)
#2138AB
ΔE00 7.05
Darkslateblue
#483D8B
ΔE00 7.52
Blueberry
#464196
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C2C7E #7E6E1C
analogous
#1C5D7E #1C2C7E #3D1C7E
triadic
#1C2C7E #7E1C2C #2C7E1C
tetradic
#1C2C7E #7E1C5D #7E6E1C #1C7E3D
square
#1C2C7E #7E1C5D #7E6E1C #1C7E3D
split-complementary
#1C2C7E #7E3D1C #5D7E1C
monochromatic
#06091A #111B4C #1C2C7E #273DB0 #4058D5
Accessibility & contrast
On white
12.27
#1C2C7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#1C2C7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C2C7E
12.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C2C7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C2C7E | 1.00 | 12.27 | 1.71 | 12.27 |
| #FFFFFF | 12.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1c2c7e; /* rgb */ color: rgb(28, 44, 126); /* oklch */ color: oklch(33.8% 0.139 268.9);
Tailwind
colors: {
custom: {
50: '#6965a4',
500: '#1c2c7e',
950: '#000000',
},
}SCSS
$custom: #1c2c7e; $custom-light: #6965a4; $custom-dark: #000000;
JSON
{
"hex": "#1c2c7e",
"rgb": {
"r": 28,
"g": 44,
"b": 126
},
"hsl": {
"h": 230.204,
"s": 63.636,
"l": 30.196
},
"oklch": {
"l": 0.33846,
"c": 0.1394,
"h": 268.9
},
"luminance": 0.03555
}Semantic roles & 50–950 ramp
primary
#1C2C7E
secondary
#B2A044
accent
#CC41E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F