#2C2298#2C2298
#2C2298 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.9% C 0.181 H 276.0°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2298 |
|---|---|
| RGB | rgb(44, 34, 152) |
| HSL | hsl(245, 63%, 36%) |
| HSV | hsv(245, 78%, 60%) |
| CMYK | cmyk(71.1%, 77.6%, 0%, 40.4%) |
| CIE-LAB | lab(23.49, 42.08, -62.17) |
| CIE-LCH | lch(23.49, 75.07, 304.10°) |
| OKLab | oklab(35.88% 0.0188 -0.1797) |
| OKLCH | oklch(35.88% 0.181 276) |
| XYZ | xyz(7.2764, 3.9458, 30.0778) |
| Luminance | 0.0395 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.21
Indigo Blue
#3A18B1
ΔE00 4.20
Cobalt Blue
#030AA7
ΔE00 4.58
Royal Blue (survey)
#0504AA
ΔE00 5.08
Ultramarine
#2000B1
ΔE00 5.31
Indigo (survey)
#380282
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2298 #8E9822
analogous
#225398 #2C2298 #672298
triadic
#2C2298 #982C22 #22982C
tetradic
#2C2298 #982253 #8E9822 #229867
square
#2C2298 #982253 #8E9822 #229867
split-complementary
#2C2298 #986722 #539822
monochromatic
#0F0C34 #1E1766 #2C2298 #3A2DCA #655ADA
Accessibility & contrast
On white
11.74
#2C2298 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2C2298 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2298
11.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2298 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2298 | 1.00 | 11.74 | 1.79 | 11.74 |
| #FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D9B
Deuteranopia (green-blind)
#003396
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2c2298; /* rgb */ color: rgb(44, 34, 152); /* oklch */ color: oklch(35.9% 0.181 276.0);
Tailwind
colors: {
custom: {
50: '#7660b8',
500: '#2c2298',
950: '#000000',
},
}SCSS
$custom: #2c2298; $custom-light: #7660b8; $custom-dark: #000000;
JSON
{
"hex": "#2c2298",
"rgb": {
"r": 44,
"g": 34,
"b": 152
},
"hsl": {
"h": 245.085,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.35879,
"c": 0.18069,
"h": 276
},
"luminance": 0.03947
}Semantic roles & 50–950 ramp
primary
#2C2298
secondary
#B6BE57
accent
#E641D8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980