#1C277D#1C277D
#1C277D is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.144 H 270.3°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).
Color values
| HEX | #1C277D |
|---|---|
| RGB | rgb(28, 39, 125) |
| HSL | hsl(233, 63%, 30%) |
| HSV | hsv(233, 78%, 49%) |
| CMYK | cmyk(77.6%, 68.8%, 0%, 51%) |
| CIE-LAB | lab(20.74, 27.77, -49.87) |
| CIE-LCH | lch(20.74, 57.08, 299.11°) |
| OKLab | oklab(32.79% 0.0007 -0.1443) |
| OKLCH | oklch(32.79% 0.144 270.3) |
| XYZ | xyz(4.9048, 3.1781, 19.7530) |
| Luminance | 0.0318 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.09
Royal
#0C1793
ΔE00 5.60
Marine
#042E60
ΔE00 7.68
Sapphire (survey)
#2138AB
ΔE00 7.72
Dark Royal Blue
#02066F
ΔE00 7.87
Darkslateblue
#483D8B
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C277D #7D721C
analogous
#1C577D #1C277D #421C7D
triadic
#1C277D #7D1C27 #277D1C
tetradic
#1C277D #7D1C57 #7D721C #1C7D42
square
#1C277D #7D1C57 #7D721C #1C7D42
split-complementary
#1C277D #7D421C #577D1C
monochromatic
#060819 #11174B #1C277D #2737AF #3F50D4
Accessibility & contrast
On white
12.84
#1C277D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#1C277D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C277D
12.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C277D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C277D | 1.00 | 12.84 | 1.64 | 12.84 |
| #FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#002D7B
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1c277d; /* rgb */ color: rgb(28, 39, 125); /* oklch */ color: oklch(32.8% 0.144 270.3);
Tailwind
colors: {
custom: {
50: '#6961a4',
500: '#1c277d',
950: '#000000',
},
}SCSS
$custom: #1c277d; $custom-light: #6961a4; $custom-dark: #000000;
JSON
{
"hex": "#1c277d",
"rgb": {
"r": 28,
"g": 39,
"b": 125
},
"hsl": {
"h": 233.196,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.32793,
"c": 0.14426,
"h": 270.3
},
"luminance": 0.03179
}Semantic roles & 50–950 ramp
primary
#1C277D
secondary
#B1A444
accent
#D441E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F