#1C157E#1C157E
#1C157E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.165 H 273.2°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).
Color values
| HEX | #1C157E |
|---|---|
| RGB | rgb(28, 21, 126) |
| HSL | hsl(244, 71%, 29%) |
| HSV | hsv(244, 83%, 49%) |
| CMYK | cmyk(77.8%, 83.3%, 0%, 50.6%) |
| CIE-LAB | lab(16.94, 39.07, -56.79) |
| CIE-LCH | lch(16.94, 68.93, 304.53°) |
| OKLab | oklab(30.11% 0.0093 -0.1643) |
| OKLCH | oklch(30.11% 0.165 273.2) |
| XYZ | xyz(4.5117, 2.2891, 19.9387) |
| Luminance | 0.0229 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.69
Royal
#0C1793
ΔE00 3.12
Navy
#000080
ΔE00 3.71
Dark Royal Blue
#02066F
ΔE00 3.77
Darkblue
#00008B
ΔE00 3.86
Deep Blue
#040273
ΔE00 3.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C157E #777E15
analogous
#15437E #1C157E #51157E
triadic
#1C157E #7E1C15 #157E1C
tetradic
#1C157E #7E1543 #777E15 #157E51
square
#1C157E #7E1543 #777E15 #157E51
split-complementary
#1C157E #7E5115 #437E15
monochromatic
#06041A #100C4A #1C157E #281EB2 #3C31DD
Accessibility & contrast
On white
14.40
#1C157E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#1C157E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C157E
14.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C157E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C157E | 1.00 | 14.40 | 1.46 | 14.40 |
| #FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00257C
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1c157e; /* rgb */ color: rgb(28, 21, 126); /* oklch */ color: oklch(30.1% 0.165 273.2);
Tailwind
colors: {
custom: {
50: '#6b55a5',
500: '#1c157e',
950: '#000000',
},
}SCSS
$custom: #1c157e; $custom-light: #6b55a5; $custom-dark: #000000;
JSON
{
"hex": "#1c157e",
"rgb": {
"r": 28,
"g": 21,
"b": 126
},
"hsl": {
"h": 244,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.30112,
"c": 0.16454,
"h": 273.2
},
"luminance": 0.0229
}Semantic roles & 50–950 ramp
primary
#1C157E
secondary
#ABB33C
accent
#EE3AE2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F