#1C118E#1C118E
#1C118E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.7% C 0.187 H 271.8°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).
Color values
| HEX | #1C118E |
|---|---|
| RGB | rgb(28, 17, 142) |
| HSL | hsl(245, 79%, 31%) |
| HSV | hsv(245, 88%, 56%) |
| CMYK | cmyk(80.3%, 88%, 0%, 44.3%) |
| CIE-LAB | lab(18.37, 45.97, -64.50) |
| CIE-LCH | lch(18.37, 79.21, 305.48°) |
| OKLab | oklab(31.68% 0.006 -0.1865) |
| OKLCH | oklch(31.68% 0.187 271.8) |
| XYZ | xyz(5.5602, 2.6001, 25.7948) |
| Luminance | 0.0260 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.61
Darkblue
#00008B
ΔE00 2.74
Cobalt Blue
#030AA7
ΔE00 3.35
Navy
#000080
ΔE00 3.63
Royal Blue (survey)
#0504AA
ΔE00 3.79
Indigo (survey)
#380282
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C118E #838E11
analogous
#11448E #1C118E #5A118E
triadic
#1C118E #8E1C11 #118E1C
tetradic
#1C118E #8E1144 #838E11 #118E5A
square
#1C118E #8E1144 #838E11 #118E5A
split-complementary
#1C118E #8E5A11 #448E11
monochromatic
#060421 #110A57 #1C118E #2718C5 #4333E7
Accessibility & contrast
On white
13.81
#1C118E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#1C118E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C118E
13.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C118E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C118E | 1.00 | 13.81 | 1.52 | 13.81 |
| #FFFFFF | 13.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003391
Deuteranopia (green-blind)
#00278C
Tritanopia (blue-blind)
#003B53
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1c118e; /* rgb */ color: rgb(28, 17, 142); /* oklch */ color: oklch(31.7% 0.187 271.8);
Tailwind
colors: {
custom: {
50: '#7055b0',
500: '#1c118e',
950: '#000000',
},
}SCSS
$custom: #1c118e; $custom-light: #7055b0; $custom-dark: #000000;
JSON
{
"hex": "#1c118e",
"rgb": {
"r": 28,
"g": 17,
"b": 142
},
"hsl": {
"h": 245.28,
"s": 78.616,
"l": 31.176
},
"oklch": {
"l": 0.31684,
"c": 0.18664,
"h": 271.8
},
"luminance": 0.02601
}Semantic roles & 50–950 ramp
primary
#1C118E
secondary
#B6C238
accent
#F533E4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880