#1C1796#1C1796
#1C1796 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.192 H 270.8°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).
Color values
| HEX | #1C1796 |
|---|---|
| RGB | rgb(28, 23, 150) |
| HSL | hsl(242, 73%, 34%) |
| HSV | hsv(242, 85%, 59%) |
| CMYK | cmyk(81.3%, 84.7%, 0%, 41.2%) |
| CIE-LAB | lab(20.29, 45.82, -66.28) |
| CIE-LCH | lch(20.29, 80.57, 304.66°) |
| OKLab | oklab(33.3% 0.0027 -0.1918) |
| OKLCH | oklch(33.3% 0.192 270.8) |
| XYZ | xyz(6.2884, 3.0610, 29.1076) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.07
Cobalt Blue
#030AA7
ΔE00 2.75
Royal Blue (survey)
#0504AA
ΔE00 3.31
Darkblue
#00008B
ΔE00 4.02
Ultramarine
#2000B1
ΔE00 4.17
Indigo Blue
#3A18B1
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C1796 #919617
analogous
#175296 #1C1796 #5C1796
triadic
#1C1796 #961C17 #17961C
tetradic
#1C1796 #961752 #919617 #17965C
square
#1C1796 #961752 #919617 #17965C
split-complementary
#1C1796 #965C17 #529617
monochromatic
#08072C #120F61 #1C1796 #261FCB #4B45E2
Accessibility & contrast
On white
13.02
#1C1796 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#1C1796 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C1796
13.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C1796 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C1796 | 1.00 | 13.02 | 1.61 | 13.02 |
| #FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003799
Deuteranopia (green-blind)
#002A94
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1c1796; /* rgb */ color: rgb(28, 23, 150); /* oklch */ color: oklch(33.3% 0.192 270.8);
Tailwind
colors: {
custom: {
50: '#7158b6',
500: '#1c1796',
950: '#000000',
},
}SCSS
$custom: #1c1796; $custom-light: #7158b6; $custom-dark: #000000;
JSON
{
"hex": "#1c1796",
"rgb": {
"r": 28,
"g": 23,
"b": 150
},
"hsl": {
"h": 242.362,
"s": 73.41,
"l": 33.922
},
"oklch": {
"l": 0.333,
"c": 0.19182,
"h": 270.8
},
"luminance": 0.03062
}Semantic roles & 50–950 ramp
primary
#1C1796
secondary
#BEC345
accent
#F038E9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980