#1C2785#1C2785
#1C2785 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.155 H 270.0°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).
Color values
| HEX | #1C2785 |
|---|---|
| RGB | rgb(28, 39, 133) |
| HSL | hsl(234, 65%, 32%) |
| HSV | hsv(234, 79%, 52%) |
| CMYK | cmyk(78.9%, 70.7%, 0%, 47.8%) |
| CIE-LAB | lab(21.55, 30.81, -53.60) |
| CIE-LCH | lch(21.55, 61.83, 299.89°) |
| OKLab | oklab(33.62% 0 -0.1552) |
| OKLCH | oklch(33.62% 0.155 270) |
| XYZ | xyz(5.4366, 3.3908, 22.5537) |
| Luminance | 0.0339 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.56
Royal
#0C1793
ΔE00 4.66
Sapphire (survey)
#2138AB
ΔE00 6.79
Cobalt Blue
#030AA7
ΔE00 7.42
Darkblue
#00008B
ΔE00 7.81
Dark Royal Blue
#02066F
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C2785 #857A1C
analogous
#1C5C85 #1C2785 #461C85
triadic
#1C2785 #851C27 #27851C
tetradic
#1C2785 #851C5C #857A1C #1C8546
square
#1C2785 #851C5C #857A1C #1C8546
split-complementary
#1C2785 #85461C #5C851C
monochromatic
#070920 #111852 #1C2785 #2736B8 #4453D8
Accessibility & contrast
On white
12.51
#1C2785 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#1C2785 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C2785
12.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C2785 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C2785 | 1.00 | 12.51 | 1.68 | 12.51 |
| #FFFFFF | 12.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#002F83
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1c2785; /* rgb */ color: rgb(28, 39, 133); /* oklch */ color: oklch(33.6% 0.155 270.0);
Tailwind
colors: {
custom: {
50: '#6b61a9',
500: '#1c2785',
950: '#000000',
},
}SCSS
$custom: #1c2785; $custom-light: #6b61a9; $custom-dark: #000000;
JSON
{
"hex": "#1c2785",
"rgb": {
"r": 28,
"g": 39,
"b": 133
},
"hsl": {
"h": 233.714,
"s": 65.217,
"l": 31.569
},
"oklch": {
"l": 0.3362,
"c": 0.15516,
"h": 270
},
"luminance": 0.03391
}Semantic roles & 50–950 ramp
primary
#1C2785
secondary
#B8AC45
accent
#D740E8
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F