#1C117E#1C117E
#1C117E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.168 H 273.6°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).
Color values
| HEX | #1C117E |
|---|---|
| RGB | rgb(28, 17, 126) |
| HSL | hsl(246, 76%, 28%) |
| HSV | hsv(246, 87%, 49%) |
| CMYK | cmyk(77.8%, 86.5%, 0%, 50.6%) |
| CIE-LAB | lab(16.27, 41.02, -57.89) |
| CIE-LCH | lch(16.27, 70.94, 305.32°) |
| OKLab | oklab(29.65% 0.0106 -0.1674) |
| OKLCH | oklch(29.65% 0.168 273.6) |
| XYZ | xyz(4.4440, 2.1537, 19.9161) |
| Luminance | 0.0215 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 3.00
Midnight Blue
#191970
ΔE00 3.21
Darkblue
#00008B
ΔE00 3.24
Deep Blue
#040273
ΔE00 3.29
Royal
#0C1793
ΔE00 3.29
Dark Royal Blue
#02066F
ΔE00 3.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C117E #737E11
analogous
#113C7E #1C117E #52117E
triadic
#1C117E #7E1C11 #117E1C
tetradic
#1C117E #7E113C #737E11 #117E52
square
#1C117E #7E113C #737E11 #117E52
split-complementary
#1C117E #7E5211 #3C7E11
monochromatic
#06041B #100A48 #1C117E #2818B4 #3A27E2
Accessibility & contrast
On white
14.68
#1C117E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#1C117E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C117E
14.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C117E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C117E | 1.00 | 14.68 | 1.43 | 14.68 |
| #FFFFFF | 14.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D81
Deuteranopia (green-blind)
#00237C
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1c117e; /* rgb */ color: rgb(28, 17, 126); /* oklch */ color: oklch(29.7% 0.168 273.6);
Tailwind
colors: {
custom: {
50: '#6b53a5',
500: '#1c117e',
950: '#000000',
},
}SCSS
$custom: #1c117e; $custom-light: #6b53a5; $custom-dark: #000000;
JSON
{
"hex": "#1c117e",
"rgb": {
"r": 28,
"g": 17,
"b": 126
},
"hsl": {
"h": 246.055,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.29654,
"c": 0.16772,
"h": 273.6
},
"luminance": 0.02154
}Semantic roles & 50–950 ramp
primary
#1C117E
secondary
#A7B437
accent
#F335E0
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F