#1C2A7E#1C2A7E
#1C2A7E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.142 H 269.5°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).
Color values
| HEX | #1C2A7E |
|---|---|
| RGB | rgb(28, 42, 126) |
| HSL | hsl(231, 64%, 30%) |
| HSV | hsv(231, 78%, 49%) |
| CMYK | cmyk(77.8%, 66.7%, 0%, 50.6%) |
| CIE-LAB | lab(21.61, 26.12, -49.08) |
| CIE-LCH | lch(21.61, 55.60, 298.02°) |
| OKLab | oklab(33.46% -0.0013 -0.1419) |
| OKLCH | oklch(33.46% 0.142 269.5) |
| XYZ | xyz(5.0715, 3.4086, 20.1253) |
| Luminance | 0.0341 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.99
Royal
#0C1793
ΔE00 6.29
Marine
#042E60
ΔE00 7.11
Sapphire (survey)
#2138AB
ΔE00 7.24
Darkslateblue
#483D8B
ΔE00 7.73
Blueberry
#464196
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C2A7E #7E701C
analogous
#1C5B7E #1C2A7E #3F1C7E
triadic
#1C2A7E #7E1C2A #2A7E1C
tetradic
#1C2A7E #7E1C5B #7E701C #1C7E3F
square
#1C2A7E #7E1C5B #7E701C #1C7E3F
split-complementary
#1C2A7E #7E3F1C #5B7E1C
monochromatic
#06091A #11194C #1C2A7E #273BB0 #4055D5
Accessibility & contrast
On white
12.49
#1C2A7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#1C2A7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C2A7E
12.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C2A7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C2A7E | 1.00 | 12.49 | 1.68 | 12.49 |
| #FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#002F7C
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1c2a7e; /* rgb */ color: rgb(28, 42, 126); /* oklch */ color: oklch(33.5% 0.142 269.5);
Tailwind
colors: {
custom: {
50: '#6963a4',
500: '#1c2a7e',
950: '#000000',
},
}SCSS
$custom: #1c2a7e; $custom-light: #6963a4; $custom-dark: #000000;
JSON
{
"hex": "#1c2a7e",
"rgb": {
"r": 28,
"g": 42,
"b": 126
},
"hsl": {
"h": 231.429,
"s": 63.636,
"l": 30.196
},
"oklch": {
"l": 0.33458,
"c": 0.14194,
"h": 269.5
},
"luminance": 0.03409
}Semantic roles & 50–950 ramp
primary
#1C2A7E
secondary
#B2A244
accent
#CF41E7
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F