#2C1E9E#2C1E9E
#2C1E9E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.0% C 0.192 H 275.7°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1E9E |
|---|---|
| RGB | rgb(44, 30, 158) |
| HSL | hsl(247, 68%, 37%) |
| HSV | hsv(247, 81%, 62%) |
| CMYK | cmyk(72.2%, 81%, 0%, 38%) |
| CIE-LAB | lab(23.45, 46.07, -65.92) |
| CIE-LCH | lch(23.45, 80.42, 304.95°) |
| OKLab | oklab(36.04% 0.0192 -0.1906) |
| OKLCH | oklch(36.04% 0.192 275.7) |
| XYZ | xyz(7.6725, 3.9319, 32.6957) |
| Luminance | 0.0393 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.14
Indigo Blue
#3A18B1
ΔE00 3.18
Cobalt Blue
#030AA7
ΔE00 3.63
Royal Blue (survey)
#0504AA
ΔE00 4.06
Ultramarine
#2000B1
ΔE00 4.13
True Blue
#010FCC
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1E9E #909E1E
analogous
#1E509E #2C1E9E #6C1E9E
triadic
#2C1E9E #9E2C1E #1E9E2C
tetradic
#2C1E9E #9E1E50 #909E1E #1E9E6C
square
#2C1E9E #9E1E50 #909E1E #1E9E6C
split-complementary
#2C1E9E #9E6C1E #509E1E
monochromatic
#0F0A37 #1E146B #2C1E9E #3A28D1 #6657DF
Accessibility & contrast
On white
11.75
#2C1E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2C1E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1E9E
11.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1E9E | 1.00 | 11.75 | 1.79 | 11.75 |
| #FFFFFF | 11.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2c1e9e; /* rgb */ color: rgb(44, 30, 158); /* oklch */ color: oklch(36.0% 0.192 275.7);
Tailwind
colors: {
custom: {
50: '#785ebc',
500: '#2c1e9e',
950: '#000000',
},
}SCSS
$custom: #2c1e9e; $custom-light: #785ebc; $custom-dark: #000000;
JSON
{
"hex": "#2c1e9e",
"rgb": {
"r": 44,
"g": 30,
"b": 158
},
"hsl": {
"h": 246.563,
"s": 68.085,
"l": 36.863
},
"oklch": {
"l": 0.36044,
"c": 0.19153,
"h": 275.7
},
"luminance": 0.03933
}Semantic roles & 50–950 ramp
primary
#2C1E9E
secondary
#B7C355
accent
#EB3DD8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981