#2C2392#2C2392
#2C2392 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.172 H 276.6°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2392 |
|---|---|
| RGB | rgb(44, 35, 146) |
| HSL | hsl(245, 61%, 35%) |
| HSV | hsv(245, 76%, 57%) |
| CMYK | cmyk(69.9%, 76%, 0%, 42.7%) |
| CIE-LAB | lab(23.04, 39.56, -59.21) |
| CIE-LCH | lch(23.04, 71.21, 303.75°) |
| OKLab | oklab(35.37% 0.0197 -0.1711) |
| OKLCH | oklch(35.37% 0.172 276.6) |
| XYZ | xyz(6.8264, 3.8122, 27.5646) |
| Luminance | 0.0381 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.30
Indigo Blue
#3A18B1
ΔE00 5.07
Cobalt Blue
#030AA7
ΔE00 5.20
Royal Blue (survey)
#0504AA
ΔE00 5.73
Midnight Blue
#191970
ΔE00 5.79
Ultramarine
#2000B1
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2392 #899223
analogous
#235192 #2C2392 #632392
triadic
#2C2392 #922C23 #23922C
tetradic
#2C2392 #922351 #899223 #239263
square
#2C2392 #922351 #899223 #239263
split-complementary
#2C2392 #926323 #519223
monochromatic
#0E0B2F #1D1761 #2C2392 #3B2FC3 #6358D7
Accessibility & contrast
On white
11.91
#2C2392 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#2C2392 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2392
11.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2392 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2392 | 1.00 | 11.91 | 1.76 | 11.91 |
| #FFFFFF | 11.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003290
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2c2392; /* rgb */ color: rgb(44, 35, 146); /* oklch */ color: oklch(35.4% 0.172 276.6);
Tailwind
colors: {
custom: {
50: '#7560b3',
500: '#2c2392',
950: '#000000',
},
}SCSS
$custom: #2c2392; $custom-light: #7560b3; $custom-dark: #000000;
JSON
{
"hex": "#2c2392",
"rgb": {
"r": 44,
"g": 35,
"b": 146
},
"hsl": {
"h": 244.865,
"s": 61.326,
"l": 35.49
},
"oklch": {
"l": 0.35368,
"c": 0.17223,
"h": 276.6
},
"luminance": 0.03813
}Semantic roles & 50–950 ramp
primary
#2C2392
secondary
#B3BB55
accent
#E443D7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980