#1C2786#1C2786
#1C2786 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.157 H 269.9°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).
Color values
| HEX | #1C2786 |
|---|---|
| RGB | rgb(28, 39, 134) |
| HSL | hsl(234, 65%, 32%) |
| HSV | hsv(234, 79%, 53%) |
| CMYK | cmyk(79.1%, 70.9%, 0%, 47.5%) |
| CIE-LAB | lab(21.65, 31.19, -54.06) |
| CIE-LCH | lch(21.65, 62.41, 299.98°) |
| OKLab | oklab(33.73% -0.0001 -0.1565) |
| OKLCH | oklch(33.73% 0.157 269.9) |
| XYZ | xyz(5.5060, 3.4185, 22.9193) |
| Luminance | 0.0342 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.56
Midnight Blue
#191970
ΔE00 4.64
Sapphire (survey)
#2138AB
ΔE00 6.68
Cobalt Blue
#030AA7
ΔE00 7.30
Darkblue
#00008B
ΔE00 7.75
Royal Blue (survey)
#0504AA
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C2786 #867B1C
analogous
#1C5C86 #1C2786 #461C86
triadic
#1C2786 #861C27 #27861C
tetradic
#1C2786 #861C5C #867B1C #1C8646
square
#1C2786 #861C5C #867B1C #1C8646
split-complementary
#1C2786 #86461C #5C861C
monochromatic
#070A21 #111853 #1C2786 #2736B9 #4454D8
Accessibility & contrast
On white
12.47
#1C2786 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#1C2786 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C2786
12.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C2786 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C2786 | 1.00 | 12.47 | 1.68 | 12.47 |
| #FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#002F84
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1c2786; /* rgb */ color: rgb(28, 39, 134); /* oklch */ color: oklch(33.7% 0.157 269.9);
Tailwind
colors: {
custom: {
50: '#6b61aa',
500: '#1c2786',
950: '#000000',
},
}SCSS
$custom: #1c2786; $custom-light: #6b61aa; $custom-dark: #000000;
JSON
{
"hex": "#1c2786",
"rgb": {
"r": 28,
"g": 39,
"b": 134
},
"hsl": {
"h": 233.774,
"s": 65.432,
"l": 31.765
},
"oklch": {
"l": 0.33725,
"c": 0.15651,
"h": 269.9
},
"luminance": 0.03419
}Semantic roles & 50–950 ramp
primary
#1C2786
secondary
#B9AD45
accent
#D73FE8
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F