#1C108E#1C108E
#1C108E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.187 H 271.9°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).
Color values
| HEX | #1C108E |
|---|---|
| RGB | rgb(28, 16, 142) |
| HSL | hsl(246, 80%, 31%) |
| HSV | hsv(246, 89%, 56%) |
| CMYK | cmyk(80.3%, 88.7%, 0%, 44.3%) |
| CIE-LAB | lab(18.23, 46.37, -64.72) |
| CIE-LCH | lch(18.23, 79.62, 305.62°) |
| OKLab | oklab(31.59% 0.0062 -0.1872) |
| OKLCH | oklch(31.59% 0.187 271.9) |
| XYZ | xyz(5.5450, 2.5698, 25.7897) |
| Luminance | 0.0257 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.73
Darkblue
#00008B
ΔE00 2.61
Cobalt Blue
#030AA7
ΔE00 3.32
Navy
#000080
ΔE00 3.52
Royal Blue (survey)
#0504AA
ΔE00 3.75
Indigo (survey)
#380282
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C108E #828E10
analogous
#10438E #1C108E #5B108E
triadic
#1C108E #8E1C10 #108E1C
tetradic
#1C108E #8E1043 #828E10 #108E5B
square
#1C108E #8E1043 #828E10 #108E5B
split-complementary
#1C108E #8E5B10 #438E10
monochromatic
#060420 #110A57 #1C108E #2716C5 #4231E8
Accessibility & contrast
On white
13.87
#1C108E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#1C108E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C108E
13.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C108E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C108E | 1.00 | 13.87 | 1.51 | 13.87 |
| #FFFFFF | 13.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003291
Deuteranopia (green-blind)
#00268C
Tritanopia (blue-blind)
#003B53
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1c108e; /* rgb */ color: rgb(28, 16, 142); /* oklch */ color: oklch(31.6% 0.187 271.9);
Tailwind
colors: {
custom: {
50: '#7054b1',
500: '#1c108e',
950: '#000000',
},
}SCSS
$custom: #1c108e; $custom-light: #7054b1; $custom-dark: #000000;
JSON
{
"hex": "#1c108e",
"rgb": {
"r": 28,
"g": 16,
"b": 142
},
"hsl": {
"h": 245.714,
"s": 79.747,
"l": 30.98
},
"oklch": {
"l": 0.31593,
"c": 0.18726,
"h": 271.9
},
"luminance": 0.0257
}Semantic roles & 50–950 ramp
primary
#1C108E
secondary
#B5C337
accent
#F632E3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880