#1C1785#1C1785
#1C1785 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.171 H 272.3°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).
Color values
| HEX | #1C1785 |
|---|---|
| RGB | rgb(28, 23, 133) |
| HSL | hsl(243, 71%, 31%) |
| HSV | hsv(243, 83%, 52%) |
| CMYK | cmyk(78.9%, 82.7%, 0%, 47.8%) |
| CIE-LAB | lab(18.15, 40.35, -59.20) |
| CIE-LCH | lch(18.15, 71.64, 304.27°) |
| OKLab | oklab(31.21% 0.0069 -0.1713) |
| OKLCH | oklch(31.21% 0.171 272.3) |
| XYZ | xyz(5.0175, 2.5526, 22.4140) |
| Luminance | 0.0255 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.11
Midnight Blue
#191970
ΔE00 3.49
Darkblue
#00008B
ΔE00 3.80
Navy
#000080
ΔE00 4.08
Dark Royal Blue
#02066F
ΔE00 4.66
Deep Blue
#040273
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C1785 #808517
analogous
#174985 #1C1785 #531785
triadic
#1C1785 #851C17 #17851C
tetradic
#1C1785 #851749 #808517 #178553
square
#1C1785 #851749 #808517 #178553
split-complementary
#1C1785 #855317 #498517
monochromatic
#06051D #110E51 #1C1785 #2720B9 #413ADD
Accessibility & contrast
On white
13.90
#1C1785 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#1C1785 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C1785
13.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C1785 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C1785 | 1.00 | 13.90 | 1.51 | 13.90 |
| #FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002783
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1c1785; /* rgb */ color: rgb(28, 23, 133); /* oklch */ color: oklch(31.2% 0.171 272.3);
Tailwind
colors: {
custom: {
50: '#6d57aa',
500: '#1c1785',
950: '#000000',
},
}SCSS
$custom: #1c1785; $custom-light: #6d57aa; $custom-dark: #000000;
JSON
{
"hex": "#1c1785",
"rgb": {
"r": 28,
"g": 23,
"b": 133
},
"hsl": {
"h": 242.727,
"s": 70.513,
"l": 30.588
},
"oklch": {
"l": 0.3121,
"c": 0.17146,
"h": 272.3
},
"luminance": 0.02553
}Semantic roles & 50–950 ramp
primary
#1C1785
secondary
#B3B93F
accent
#ED3BE5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F