#2C2192#2C2192
#2C2192 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.174 H 276.9°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2192 |
|---|---|
| RGB | rgb(44, 33, 146) |
| HSL | hsl(246, 63%, 35%) |
| HSV | hsv(246, 77%, 57%) |
| CMYK | cmyk(69.9%, 77.4%, 0%, 42.7%) |
| CIE-LAB | lab(22.65, 40.67, -59.86) |
| CIE-LCH | lch(22.65, 72.37, 304.20°) |
| OKLab | oklab(35.09% 0.0208 -0.173) |
| OKLCH | oklch(35.09% 0.174 276.9) |
| XYZ | xyz(6.7692, 3.6979, 27.5456) |
| Luminance | 0.0370 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.99
Cobalt Blue
#030AA7
ΔE00 4.85
Indigo Blue
#3A18B1
ΔE00 4.89
Royal Blue (survey)
#0504AA
ΔE00 5.36
Midnight Blue
#191970
ΔE00 5.70
Ultramarine
#2000B1
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2192 #879221
analogous
#214E92 #2C2192 #652192
triadic
#2C2192 #922C21 #21922C
tetradic
#2C2192 #92214E #879221 #219265
square
#2C2192 #92214E #879221 #219265
split-complementary
#2C2192 #926521 #4E9221
monochromatic
#0E0A2E #1D1660 #2C2192 #3B2CC4 #6255D9
Accessibility & contrast
On white
12.07
#2C2192 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#2C2192 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2192
12.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2192 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2192 | 1.00 | 12.07 | 1.74 | 12.07 |
| #FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003190
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2c2192; /* rgb */ color: rgb(44, 33, 146); /* oklch */ color: oklch(35.1% 0.174 276.9);
Tailwind
colors: {
custom: {
50: '#755fb3',
500: '#2c2192',
950: '#000000',
},
}SCSS
$custom: #2c2192; $custom-light: #755fb3; $custom-dark: #000000;
JSON
{
"hex": "#2c2192",
"rgb": {
"r": 44,
"g": 33,
"b": 146
},
"hsl": {
"h": 245.841,
"s": 63.128,
"l": 35.098
},
"oklch": {
"l": 0.3509,
"c": 0.17423,
"h": 276.9
},
"luminance": 0.03699
}Semantic roles & 50–950 ramp
primary
#2C2192
secondary
#B2BC53
accent
#E642D6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980