#2C1A89#2C1A89
#2C1A89 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.170 H 279.2°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1A89 |
|---|---|
| RGB | rgb(44, 26, 137) |
| HSL | hsl(250, 68%, 32%) |
| HSV | hsv(250, 81%, 54%) |
| CMYK | cmyk(67.9%, 81%, 0%, 46.3%) |
| CIE-LAB | lab(20.36, 41.49, -58.03) |
| CIE-LCH | lch(20.36, 71.34, 305.57°) |
| OKLab | oklab(33.2% 0.027 -0.1676) |
| OKLCH | oklch(33.2% 0.17 279.2) |
| XYZ | xyz(5.9220, 3.0799, 23.9445) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.80
Indigo (survey)
#380282
ΔE00 4.09
Midnight Blue
#191970
ΔE00 4.53
Darkblue
#00008B
ΔE00 4.82
Cobalt Blue
#030AA7
ΔE00 4.91
Navy
#000080
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1A89 #77891A
analogous
#1A3F89 #2C1A89 #641A89
triadic
#2C1A89 #892C1A #1A892C
tetradic
#2C1A89 #891A3F #77891A #1A8964
square
#2C1A89 #891A3F #77891A #1A8964
split-complementary
#2C1A89 #89641A #3F891A
monochromatic
#0B0622 #1B1056 #2C1A89 #3D24BC #5B42DB
Accessibility & contrast
On white
13.00
#2C1A89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#2C1A89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1A89
13.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1A89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1A89 | 1.00 | 13.00 | 1.62 | 13.00 |
| #FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358C
Deuteranopia (green-blind)
#002D87
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2c1a89; /* rgb */ color: rgb(44, 26, 137); /* oklch */ color: oklch(33.2% 0.170 279.2);
Tailwind
colors: {
custom: {
50: '#745aad',
500: '#2c1a89',
950: '#000000',
},
}SCSS
$custom: #2c1a89; $custom-light: #745aad; $custom-dark: #000000;
JSON
{
"hex": "#2c1a89",
"rgb": {
"r": 44,
"g": 26,
"b": 137
},
"hsl": {
"h": 249.73,
"s": 68.098,
"l": 31.961
},
"oklch": {
"l": 0.33195,
"c": 0.16973,
"h": 279.2
},
"luminance": 0.0308
}Semantic roles & 50–950 ramp
primary
#2C1A89
secondary
#A8BC43
accent
#EB3DCF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F