#1C2186#1C2186
#1C2186 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.163 H 271.0°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).
Color values
| HEX | #1C2186 |
|---|---|
| RGB | rgb(28, 33, 134) |
| HSL | hsl(237, 65%, 32%) |
| HSV | hsv(237, 79%, 53%) |
| CMYK | cmyk(79.1%, 75.4%, 0%, 47.5%) |
| CIE-LAB | lab(20.26, 35.01, -56.34) |
| CIE-LCH | lch(20.26, 66.33, 301.85°) |
| OKLab | oklab(32.73% 0.0028 -0.1631) |
| OKLCH | oklch(32.73% 0.163 271) |
| XYZ | xyz(5.3244, 3.0552, 22.8587) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.10
Midnight Blue
#191970
ΔE00 3.71
Cobalt Blue
#030AA7
ΔE00 6.04
Darkblue
#00008B
ΔE00 6.07
Navy
#000080
ΔE00 6.38
Dark Royal Blue
#02066F
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C2186 #86811C
analogous
#1C5686 #1C2186 #4C1C86
triadic
#1C2186 #861C21 #21861C
tetradic
#1C2186 #861C56 #86811C #1C864C
square
#1C2186 #861C56 #86811C #1C864C
split-complementary
#1C2186 #864C1C #56861C
monochromatic
#070821 #111553 #1C2186 #272DB9 #444BD8
Accessibility & contrast
On white
13.03
#1C2186 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#1C2186 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C2186
13.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C2186 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C2186 | 1.00 | 13.03 | 1.61 | 13.03 |
| #FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1c2186; /* rgb */ color: rgb(28, 33, 134); /* oklch */ color: oklch(32.7% 0.163 271.0);
Tailwind
colors: {
custom: {
50: '#6c5daa',
500: '#1c2186',
950: '#000000',
},
}SCSS
$custom: #1c2186; $custom-light: #6c5daa; $custom-dark: #000000;
JSON
{
"hex": "#1c2186",
"rgb": {
"r": 28,
"g": 33,
"b": 134
},
"hsl": {
"h": 237.17,
"s": 65.432,
"l": 31.765
},
"oklch": {
"l": 0.3273,
"c": 0.16316,
"h": 271
},
"luminance": 0.03056
}Semantic roles & 50–950 ramp
primary
#1C2186
secondary
#B9B445
accent
#E03FE8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F