#1C1981#1C1981
#1C1981 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.165 H 272.5°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).
Color values
| HEX | #1C1981 |
|---|---|
| RGB | rgb(28, 25, 129) |
| HSL | hsl(242, 68%, 30%) |
| HSV | hsv(242, 81%, 51%) |
| CMYK | cmyk(78.3%, 80.6%, 0%, 49.4%) |
| CIE-LAB | lab(18.04, 37.94, -56.87) |
| CIE-LCH | lch(18.04, 68.36, 303.71°) |
| OKLab | oklab(30.99% 0.0071 -0.1646) |
| OKLCH | oklch(30.99% 0.165 272.5) |
| XYZ | xyz(4.7876, 2.5266, 21.0000) |
| Luminance | 0.0253 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.72
Midnight Blue
#191970
ΔE00 2.78
Darkblue
#00008B
ΔE00 4.42
Navy
#000080
ΔE00 4.49
Dark Royal Blue
#02066F
ΔE00 4.61
Deep Blue
#040273
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C1981 #7E8119
analogous
#194A81 #1C1981 #501981
triadic
#1C1981 #811C19 #19811C
tetradic
#1C1981 #81194A #7E8119 #198150
square
#1C1981 #81194A #7E8119 #198150
split-complementary
#1C1981 #815019 #4A8119
monochromatic
#06051A #110F4E #1C1981 #2723B4 #403BD9
Accessibility & contrast
On white
13.95
#1C1981 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#1C1981 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C1981
13.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C1981 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C1981 | 1.00 | 13.95 | 1.51 | 13.95 |
| #FFFFFF | 13.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003184
Deuteranopia (green-blind)
#00277F
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1c1981; /* rgb */ color: rgb(28, 25, 129); /* oklch */ color: oklch(31.0% 0.165 272.5);
Tailwind
colors: {
custom: {
50: '#6b58a7',
500: '#1c1981',
950: '#000000',
},
}SCSS
$custom: #1c1981; $custom-light: #6b58a7; $custom-dark: #000000;
JSON
{
"hex": "#1c1981",
"rgb": {
"r": 28,
"g": 25,
"b": 129
},
"hsl": {
"h": 241.731,
"s": 67.532,
"l": 30.196
},
"oklch": {
"l": 0.30987,
"c": 0.16473,
"h": 272.5
},
"luminance": 0.02527
}Semantic roles & 50–950 ramp
primary
#1C1981
secondary
#B2B541
accent
#EA3DE5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F