#1C277E#1C277E
#1C277E is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.9% C 0.146 H 270.2°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).
Color values
| HEX | #1C277E |
|---|---|
| RGB | rgb(28, 39, 126) |
| HSL | hsl(233, 64%, 30%) |
| HSV | hsv(233, 78%, 49%) |
| CMYK | cmyk(77.8%, 69%, 0%, 50.6%) |
| CIE-LAB | lab(20.84, 28.16, -50.34) |
| CIE-LCH | lch(20.84, 57.68, 299.22°) |
| OKLab | oklab(32.9% 0.0006 -0.1456) |
| OKLCH | oklch(32.9% 0.146 270.2) |
| XYZ | xyz(4.9690, 3.2037, 20.0911) |
| Luminance | 0.0320 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.12
Royal
#0C1793
ΔE00 5.47
Sapphire (survey)
#2138AB
ΔE00 7.60
Marine
#042E60
ΔE00 7.80
Dark Royal Blue
#02066F
ΔE00 7.86
Darkslateblue
#483D8B
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C277E #7E731C
analogous
#1C587E #1C277E #421C7E
triadic
#1C277E #7E1C27 #277E1C
tetradic
#1C277E #7E1C58 #7E731C #1C7E42
square
#1C277E #7E1C58 #7E731C #1C7E42
split-complementary
#1C277E #7E421C #587E1C
monochromatic
#06081A #11184C #1C277E #2736B0 #4051D5
Accessibility & contrast
On white
12.80
#1C277E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#1C277E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C277E
12.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C277E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C277E | 1.00 | 12.80 | 1.64 | 12.80 |
| #FFFFFF | 12.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1c277e; /* rgb */ color: rgb(28, 39, 126); /* oklch */ color: oklch(32.9% 0.146 270.2);
Tailwind
colors: {
custom: {
50: '#6961a4',
500: '#1c277e',
950: '#000000',
},
}SCSS
$custom: #1c277e; $custom-light: #6961a4; $custom-dark: #000000;
JSON
{
"hex": "#1c277e",
"rgb": {
"r": 28,
"g": 39,
"b": 126
},
"hsl": {
"h": 233.265,
"s": 63.636,
"l": 30.196
},
"oklch": {
"l": 0.32895,
"c": 0.14564,
"h": 270.2
},
"luminance": 0.03204
}Semantic roles & 50–950 ramp
primary
#1C277E
secondary
#B2A544
accent
#D441E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F