#1C157C#1C157C
#1C157C is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.162 H 273.5°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).
Color values
| HEX | #1C157C |
|---|---|
| RGB | rgb(28, 21, 124) |
| HSL | hsl(244, 71%, 28%) |
| HSV | hsv(244, 83%, 49%) |
| CMYK | cmyk(77.4%, 83.1%, 0%, 51.4%) |
| CIE-LAB | lab(16.69, 38.41, -55.92) |
| CIE-LCH | lch(16.69, 67.84, 304.48°) |
| OKLab | oklab(29.87% 0.0098 -0.1618) |
| OKLCH | oklch(29.87% 0.162 273.5) |
| XYZ | xyz(4.3839, 2.2380, 19.2658) |
| Luminance | 0.0224 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.42
Royal
#0C1793
ΔE00 3.41
Dark Royal Blue
#02066F
ΔE00 3.61
Navy
#000080
ΔE00 3.78
Deep Blue
#040273
ΔE00 3.82
Darkblue
#00008B
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C157C #757C15
analogous
#15417C #1C157C #4F157C
triadic
#1C157C #7C1C15 #157C1C
tetradic
#1C157C #7C1541 #757C15 #157C4F
square
#1C157C #7C1541 #757C15 #157C4F
split-complementary
#1C157C #7C4F15 #417C15
monochromatic
#06041A #100C48 #1C157C #281EB0 #3B30DC
Accessibility & contrast
On white
14.51
#1C157C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#1C157C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C157C
14.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C157C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C157C | 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)
#002E7F
Deuteranopia (green-blind)
#00247A
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1c157c; /* rgb */ color: rgb(28, 21, 124); /* oklch */ color: oklch(29.9% 0.162 273.5);
Tailwind
colors: {
custom: {
50: '#6b55a3',
500: '#1c157c',
950: '#000000',
},
}SCSS
$custom: #1c157c; $custom-light: #6b55a3; $custom-dark: #000000;
JSON
{
"hex": "#1c157c",
"rgb": {
"r": 28,
"g": 21,
"b": 124
},
"hsl": {
"h": 244.078,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.29869,
"c": 0.16207,
"h": 273.5
},
"luminance": 0.02238
}Semantic roles & 50–950 ramp
primary
#1C157C
secondary
#A9B13C
accent
#EE3AE2
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F