#1C2A78#1C2A78
#1C2A78 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.9% C 0.133 H 269.6°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).
Color values
| HEX | #1C2A78 |
|---|---|
| RGB | rgb(28, 42, 120) |
| HSL | hsl(231, 62%, 29%) |
| HSV | hsv(231, 77%, 47%) |
| CMYK | cmyk(76.7%, 65%, 0%, 52.9%) |
| CIE-LAB | lab(21.05, 23.77, -46.18) |
| CIE-LCH | lch(21.05, 51.94, 297.23°) |
| OKLab | oklab(32.87% -0.001 -0.1335) |
| OKLCH | oklch(32.87% 0.133 269.6) |
| XYZ | xyz(4.6959, 3.2584, 18.1471) |
| Luminance | 0.0326 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.00
Marine
#042E60
ΔE00 6.36
Royal
#0C1793
ΔE00 7.08
Darkslateblue
#483D8B
ΔE00 7.96
Sapphire (survey)
#2138AB
ΔE00 8.06
Marine Blue
#01386A
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C2A78 #786A1C
analogous
#1C5878 #1C2A78 #3C1C78
triadic
#1C2A78 #781C2A #2A781C
tetradic
#1C2A78 #781C58 #786A1C #1C783C
square
#1C2A78 #781C58 #786A1C #1C783C
split-complementary
#1C2A78 #783C1C #58781C
monochromatic
#060919 #101946 #1C2A78 #283BAA #3D53D2
Accessibility & contrast
On white
12.71
#1C2A78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#1C2A78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C2A78
12.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C2A78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C2A78 | 1.00 | 12.71 | 1.65 | 12.71 |
| #FFFFFF | 12.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00377B
Deuteranopia (green-blind)
#002E77
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1c2a78; /* rgb */ color: rgb(28, 42, 120); /* oklch */ color: oklch(32.9% 0.133 269.6);
Tailwind
colors: {
custom: {
50: '#6763a0',
500: '#1c2a78',
950: '#000000',
},
}SCSS
$custom: #1c2a78; $custom-light: #6763a0; $custom-dark: #000000;
JSON
{
"hex": "#1c2a78",
"rgb": {
"r": 28,
"g": 42,
"b": 120
},
"hsl": {
"h": 230.87,
"s": 62.162,
"l": 29.02
},
"oklch": {
"l": 0.32872,
"c": 0.13345,
"h": 269.6
},
"luminance": 0.03259
}Semantic roles & 50–950 ramp
primary
#1C2A78
secondary
#AC9C44
accent
#CC43E5
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050F
muted
#7A797E