#1C127E#1C127E
#1C127E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.167 H 273.5°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).
Color values
| HEX | #1C127E |
|---|---|
| RGB | rgb(28, 18, 126) |
| HSL | hsl(246, 75%, 28%) |
| HSV | hsv(246, 86%, 49%) |
| CMYK | cmyk(77.8%, 85.7%, 0%, 50.6%) |
| CIE-LAB | lab(16.43, 40.55, -57.62) |
| CIE-LCH | lch(16.43, 70.46, 305.13°) |
| OKLab | oklab(29.76% 0.0103 -0.1666) |
| OKLCH | oklch(29.76% 0.167 273.5) |
| XYZ | xyz(4.4598, 2.1854, 19.9214) |
| Luminance | 0.0219 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.07
Navy
#000080
ΔE00 3.17
Royal
#0C1793
ΔE00 3.24
Darkblue
#00008B
ΔE00 3.38
Dark Royal Blue
#02066F
ΔE00 3.41
Deep Blue
#040273
ΔE00 3.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C127E #747E12
analogous
#123E7E #1C127E #52127E
triadic
#1C127E #7E1C12 #127E1C
tetradic
#1C127E #7E123E #747E12 #127E52
square
#1C127E #7E123E #747E12 #127E52
split-complementary
#1C127E #7E5212 #3E7E12
monochromatic
#06041B #100A48 #1C127E #281AB4 #3B2AE1
Accessibility & contrast
On white
14.61
#1C127E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#1C127E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C127E
14.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C127E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C127E | 1.00 | 14.61 | 1.44 | 14.61 |
| #FFFFFF | 14.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00237C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1c127e; /* rgb */ color: rgb(28, 18, 126); /* oklch */ color: oklch(29.8% 0.167 273.5);
Tailwind
colors: {
custom: {
50: '#6b54a5',
500: '#1c127e',
950: '#000000',
},
}SCSS
$custom: #1c127e; $custom-light: #6b54a5; $custom-dark: #000000;
JSON
{
"hex": "#1c127e",
"rgb": {
"r": 28,
"g": 18,
"b": 126
},
"hsl": {
"h": 245.556,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.29762,
"c": 0.16697,
"h": 273.5
},
"luminance": 0.02186
}Semantic roles & 50–950 ramp
primary
#1C127E
secondary
#A8B438
accent
#F236E0
background
#F7F5FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F