#2C2292#2C2292
#2C2292 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.173 H 276.7°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2292 |
|---|---|
| RGB | rgb(44, 34, 146) |
| HSL | hsl(245, 62%, 35%) |
| HSV | hsv(245, 77%, 57%) |
| CMYK | cmyk(69.9%, 76.7%, 0%, 42.7%) |
| CIE-LAB | lab(22.84, 40.12, -59.54) |
| CIE-LCH | lch(22.84, 71.79, 303.97°) |
| OKLab | oklab(35.23% 0.0202 -0.1721) |
| OKLCH | oklch(35.23% 0.173 276.7) |
| XYZ | xyz(6.7973, 3.7542, 27.5550) |
| Luminance | 0.0376 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.14
Indigo Blue
#3A18B1
ΔE00 4.97
Cobalt Blue
#030AA7
ΔE00 5.02
Royal Blue (survey)
#0504AA
ΔE00 5.54
Midnight Blue
#191970
ΔE00 5.74
Ultramarine
#2000B1
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2292 #889222
analogous
#225092 #2C2292 #642292
triadic
#2C2292 #922C22 #22922C
tetradic
#2C2292 #922250 #889222 #229264
square
#2C2292 #922250 #889222 #229264
split-complementary
#2C2292 #926422 #509222
monochromatic
#0E0B2F #1D1660 #2C2292 #3B2EC4 #6257D8
Accessibility & contrast
On white
11.99
#2C2292 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#2C2292 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2292
11.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2292 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2292 | 1.00 | 11.99 | 1.75 | 11.99 |
| #FFFFFF | 11.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003290
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2c2292; /* rgb */ color: rgb(44, 34, 146); /* oklch */ color: oklch(35.2% 0.173 276.7);
Tailwind
colors: {
custom: {
50: '#755fb3',
500: '#2c2292',
950: '#000000',
},
}SCSS
$custom: #2c2292; $custom-light: #755fb3; $custom-dark: #000000;
JSON
{
"hex": "#2c2292",
"rgb": {
"r": 44,
"g": 34,
"b": 146
},
"hsl": {
"h": 245.357,
"s": 62.222,
"l": 35.294
},
"oklch": {
"l": 0.35228,
"c": 0.17325,
"h": 276.7
},
"luminance": 0.03755
}Semantic roles & 50–950 ramp
primary
#2C2292
secondary
#B3BC54
accent
#E543D7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980