#1C277F#1C277F
#1C277F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.147 H 270.2°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).
Color values
| HEX | #1C277F |
|---|---|
| RGB | rgb(28, 39, 127) |
| HSL | hsl(233, 64%, 30%) |
| HSV | hsv(233, 78%, 50%) |
| CMYK | cmyk(78%, 69.3%, 0%, 50.2%) |
| CIE-LAB | lab(20.94, 28.54, -50.81) |
| CIE-LCH | lch(20.94, 58.28, 299.32°) |
| OKLab | oklab(33% 0.0005 -0.147) |
| OKLCH | oklch(33% 0.147 270.2) |
| XYZ | xyz(5.0339, 3.2297, 20.4327) |
| Luminance | 0.0323 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.17
Royal
#0C1793
ΔE00 5.35
Sapphire (survey)
#2138AB
ΔE00 7.48
Dark Royal Blue
#02066F
ΔE00 7.86
Marine
#042E60
ΔE00 7.92
Darkslateblue
#483D8B
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C277F #7F741C
analogous
#1C597F #1C277F #421C7F
triadic
#1C277F #7F1C27 #277F1C
tetradic
#1C277F #7F1C59 #7F741C #1C7F42
square
#1C277F #7F1C59 #7F741C #1C7F42
split-complementary
#1C277F #7F421C #597F1C
monochromatic
#06081B #11184D #1C277F #2736B1 #4051D5
Accessibility & contrast
On white
12.76
#1C277F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#1C277F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C277F
12.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C277F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C277F | 1.00 | 12.76 | 1.65 | 12.76 |
| #FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1c277f; /* rgb */ color: rgb(28, 39, 127); /* oklch */ color: oklch(33.0% 0.147 270.2);
Tailwind
colors: {
custom: {
50: '#6961a5',
500: '#1c277f',
950: '#000000',
},
}SCSS
$custom: #1c277f; $custom-light: #6961a5; $custom-dark: #000000;
JSON
{
"hex": "#1c277f",
"rgb": {
"r": 28,
"g": 39,
"b": 127
},
"hsl": {
"h": 233.333,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.32998,
"c": 0.14701,
"h": 270.2
},
"luminance": 0.0323
}Semantic roles & 50–950 ramp
primary
#1C277F
secondary
#B3A644
accent
#D441E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F