#2C1B88#2C1B88
#2C1B88 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.168 H 279.2°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1B88 |
|---|---|
| RGB | rgb(44, 27, 136) |
| HSL | hsl(249, 67%, 32%) |
| HSV | hsv(249, 80%, 53%) |
| CMYK | cmyk(67.6%, 80.1%, 0%, 46.7%) |
| CIE-LAB | lab(20.43, 40.67, -57.29) |
| CIE-LCH | lch(20.43, 70.26, 305.37°) |
| OKLab | oklab(33.21% 0.0268 -0.1655) |
| OKLCH | oklch(33.21% 0.168 279.2) |
| XYZ | xyz(5.8732, 3.0964, 23.5759) |
| Luminance | 0.0310 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.92
Indigo (survey)
#380282
ΔE00 4.26
Midnight Blue
#191970
ΔE00 4.37
Darkblue
#00008B
ΔE00 5.01
Cobalt Blue
#030AA7
ΔE00 5.13
Navy
#000080
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1B88 #77881B
analogous
#1B4188 #2C1B88 #631B88
triadic
#2C1B88 #882C1B #1B882C
tetradic
#2C1B88 #881B41 #77881B #1B8863
square
#2C1B88 #881B41 #77881B #1B8863
split-complementary
#2C1B88 #88631B #41881B
monochromatic
#0B0722 #1B1155 #2C1B88 #3D25BB #5B44DA
Accessibility & contrast
On white
12.97
#2C1B88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#2C1B88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1B88
12.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1B88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1B88 | 1.00 | 12.97 | 1.62 | 12.97 |
| #FFFFFF | 12.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358B
Deuteranopia (green-blind)
#002D86
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2c1b88; /* rgb */ color: rgb(44, 27, 136); /* oklch */ color: oklch(33.2% 0.168 279.2);
Tailwind
colors: {
custom: {
50: '#735bac',
500: '#2c1b88',
950: '#000000',
},
}SCSS
$custom: #2c1b88; $custom-light: #735bac; $custom-dark: #000000;
JSON
{
"hex": "#2c1b88",
"rgb": {
"r": 44,
"g": 27,
"b": 136
},
"hsl": {
"h": 249.358,
"s": 66.871,
"l": 31.961
},
"oklch": {
"l": 0.33207,
"c": 0.1676,
"h": 279.2
},
"luminance": 0.03097
}Semantic roles & 50–950 ramp
primary
#2C1B88
secondary
#A8BB44
accent
#EA3ECF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F