#1C1280#1C1280
#1C1280 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 30.0% C 0.169 H 273.3°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).
Color values
| HEX | #1C1280 |
|---|---|
| RGB | rgb(28, 18, 128) |
| HSL | hsl(245, 75%, 29%) |
| HSV | hsv(245, 86%, 50%) |
| CMYK | cmyk(78.1%, 85.9%, 0%, 49.8%) |
| CIE-LAB | lab(16.69, 41.19, -58.47) |
| CIE-LCH | lch(16.69, 71.52, 305.16°) |
| OKLab | oklab(30.01% 0.0097 -0.1691) |
| OKLCH | oklch(30.01% 0.169 273.3) |
| XYZ | xyz(4.5902, 2.2375, 20.6079) |
| Luminance | 0.0224 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.97
Navy
#000080
ΔE00 3.14
Darkblue
#00008B
ΔE00 3.22
Midnight Blue
#191970
ΔE00 3.31
Deep Blue
#040273
ΔE00 3.57
Dark Royal Blue
#02066F
ΔE00 3.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C1280 #768012
analogous
#123F80 #1C1280 #531280
triadic
#1C1280 #801C12 #12801C
tetradic
#1C1280 #80123F #768012 #128053
square
#1C1280 #80123F #768012 #128053
split-complementary
#1C1280 #805312 #3F8012
monochromatic
#06041B #100A4A #1C1280 #281AB6 #3C2BE1
Accessibility & contrast
On white
14.51
#1C1280 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#1C1280 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C1280
14.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C1280 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C1280 | 1.00 | 14.51 | 1.45 | 14.51 |
| #FFFFFF | 14.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E83
Deuteranopia (green-blind)
#00247E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1c1280; /* rgb */ color: rgb(28, 18, 128); /* oklch */ color: oklch(30.0% 0.169 273.3);
Tailwind
colors: {
custom: {
50: '#6c54a6',
500: '#1c1280',
950: '#000000',
},
}SCSS
$custom: #1c1280; $custom-light: #6c54a6; $custom-dark: #000000;
JSON
{
"hex": "#1c1280",
"rgb": {
"r": 28,
"g": 18,
"b": 128
},
"hsl": {
"h": 245.455,
"s": 75.342,
"l": 28.627
},
"oklch": {
"l": 0.30012,
"c": 0.16939,
"h": 273.3
},
"luminance": 0.02238
}Semantic roles & 50–950 ramp
primary
#1C1280
secondary
#AAB638
accent
#F236E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F