#2C1A88#2C1A88
#2C1A88 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.169 H 279.3°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1A88 |
|---|---|
| RGB | rgb(44, 26, 136) |
| HSL | hsl(250, 68%, 32%) |
| HSV | hsv(250, 81%, 53%) |
| CMYK | cmyk(67.6%, 80.9%, 0%, 46.7%) |
| CIE-LAB | lab(20.25, 41.18, -57.59) |
| CIE-LCH | lch(20.25, 70.79, 305.57°) |
| OKLab | oklab(33.08% 0.0273 -0.1663) |
| OKLCH | oklch(33.08% 0.169 279.3) |
| XYZ | xyz(5.8506, 3.0514, 23.5684) |
| Luminance | 0.0305 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.88
Indigo (survey)
#380282
ΔE00 4.07
Midnight Blue
#191970
ΔE00 4.40
Darkblue
#00008B
ΔE00 4.84
Cobalt Blue
#030AA7
ΔE00 5.04
Navy
#000080
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1A88 #76881A
analogous
#1A3F88 #2C1A88 #631A88
triadic
#2C1A88 #882C1A #1A882C
tetradic
#2C1A88 #881A3F #76881A #1A8863
square
#2C1A88 #881A3F #76881A #1A8863
split-complementary
#2C1A88 #88631A #3F881A
monochromatic
#0B0621 #1B1055 #2C1A88 #3D24BB #5B42DB
Accessibility & contrast
On white
13.04
#2C1A88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#2C1A88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1A88
13.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1A88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1A88 | 1.00 | 13.04 | 1.61 | 13.04 |
| #FFFFFF | 13.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358B
Deuteranopia (green-blind)
#002C86
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2c1a88; /* rgb */ color: rgb(44, 26, 136); /* oklch */ color: oklch(33.1% 0.169 279.3);
Tailwind
colors: {
custom: {
50: '#735aac',
500: '#2c1a88',
950: '#000000',
},
}SCSS
$custom: #2c1a88; $custom-light: #735aac; $custom-dark: #000000;
JSON
{
"hex": "#2c1a88",
"rgb": {
"r": 44,
"g": 26,
"b": 136
},
"hsl": {
"h": 249.818,
"s": 67.901,
"l": 31.765
},
"oklch": {
"l": 0.33083,
"c": 0.16852,
"h": 279.3
},
"luminance": 0.03052
}Semantic roles & 50–950 ramp
primary
#2C1A88
secondary
#A7BB43
accent
#EB3DCE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F