#1C117F#1C117F
#1C117F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.169 H 273.5°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1C117F |
|---|---|
| RGB | rgb(28, 17, 127) |
| HSL | hsl(246, 76%, 28%) |
| HSV | hsv(246, 87%, 50%) |
| CMYK | cmyk(78%, 86.6%, 0%, 50.2%) |
| CIE-LAB | lab(16.40, 41.33, -58.31) |
| CIE-LCH | lch(16.40, 71.47, 305.33°) |
| OKLab | oklab(29.78% 0.0103 -0.1686) |
| OKLCH | oklch(29.78% 0.169 273.5) |
| XYZ | xyz(4.5088, 2.1796, 20.2576) |
| Luminance | 0.0218 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 2.99
Darkblue
#00008B
ΔE00 3.15
Royal
#0C1793
ΔE00 3.16
Midnight Blue
#191970
ΔE00 3.32
Deep Blue
#040273
ΔE00 3.36
Dark Royal Blue
#02066F
ΔE00 3.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C117F #747F11
analogous
#113D7F #1C117F #53117F
triadic
#1C117F #7F1C11 #117F1C
tetradic
#1C117F #7F113D #747F11 #117F53
square
#1C117F #7F113D #747F11 #117F53
split-complementary
#1C117F #7F5311 #3D7F11
monochromatic
#06041B #100A49 #1C117F #2818B5 #3B28E2
Accessibility & contrast
On white
14.62
#1C117F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#1C117F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C117F
14.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C117F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C117F | 1.00 | 14.62 | 1.44 | 14.62 |
| #FFFFFF | 14.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00237D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1c117f; /* rgb */ color: rgb(28, 17, 127); /* oklch */ color: oklch(29.8% 0.169 273.5);
Tailwind
colors: {
custom: {
50: '#6c54a5',
500: '#1c117f',
950: '#000000',
},
}SCSS
$custom: #1c117f; $custom-light: #6c54a5; $custom-dark: #000000;
JSON
{
"hex": "#1c117f",
"rgb": {
"r": 28,
"g": 17,
"b": 127
},
"hsl": {
"h": 246,
"s": 76.389,
"l": 28.235
},
"oklch": {
"l": 0.29779,
"c": 0.16893,
"h": 273.5
},
"luminance": 0.0218
}Semantic roles & 50–950 ramp
primary
#1C117F
secondary
#A8B537
accent
#F335E0
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F