#1C1789#1C1789
#1C1789 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.176 H 271.9°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).
Color values
| HEX | #1C1789 |
|---|---|
| RGB | rgb(28, 23, 137) |
| HSL | hsl(243, 71%, 31%) |
| HSV | hsv(243, 83%, 54%) |
| CMYK | cmyk(79.6%, 83.2%, 0%, 46.3%) |
| CIE-LAB | lab(18.65, 41.66, -60.90) |
| CIE-LCH | lch(18.65, 73.78, 304.37°) |
| OKLab | oklab(31.7% 0.0059 -0.1762) |
| OKLCH | oklch(31.7% 0.176 271.9) |
| XYZ | xyz(5.2991, 2.6652, 23.8972) |
| Luminance | 0.0267 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.59
Darkblue
#00008B
ΔE00 3.69
Midnight Blue
#191970
ΔE00 4.07
Navy
#000080
ΔE00 4.20
Cobalt Blue
#030AA7
ΔE00 4.33
Indigo (survey)
#380282
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C1789 #848917
analogous
#174B89 #1C1789 #551789
triadic
#1C1789 #891C17 #17891C
tetradic
#1C1789 #89174B #848917 #178955
square
#1C1789 #89174B #848917 #178955
split-complementary
#1C1789 #895517 #4B8917
monochromatic
#070520 #110E55 #1C1789 #2720BD #433CDE
Accessibility & contrast
On white
13.70
#1C1789 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#1C1789 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C1789
13.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C1789 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C1789 | 1.00 | 13.70 | 1.53 | 13.70 |
| #FFFFFF | 13.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002887
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1c1789; /* rgb */ color: rgb(28, 23, 137); /* oklch */ color: oklch(31.7% 0.176 271.9);
Tailwind
colors: {
custom: {
50: '#6e57ad',
500: '#1c1789',
950: '#000000',
},
}SCSS
$custom: #1c1789; $custom-light: #6e57ad; $custom-dark: #000000;
JSON
{
"hex": "#1c1789",
"rgb": {
"r": 28,
"g": 23,
"b": 137
},
"hsl": {
"h": 242.632,
"s": 71.25,
"l": 31.373
},
"oklch": {
"l": 0.31697,
"c": 0.17634,
"h": 271.9
},
"luminance": 0.02666
}Semantic roles & 50–950 ramp
primary
#1C1789
secondary
#B7BD3F
accent
#EE3AE6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F