#2C2397#2C2397
#2C2397 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.178 H 276.0°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2397 |
|---|---|
| RGB | rgb(44, 35, 151) |
| HSL | hsl(245, 62%, 36%) |
| HSV | hsv(245, 77%, 59%) |
| CMYK | cmyk(70.9%, 76.8%, 0%, 40.8%) |
| CIE-LAB | lab(23.58, 41.21, -61.41) |
| CIE-LCH | lch(23.58, 73.95, 303.86°) |
| OKLab | oklab(35.91% 0.0185 -0.1775) |
| OKLCH | oklch(35.91% 0.178 276) |
| XYZ | xyz(7.2238, 3.9712, 29.6580) |
| Luminance | 0.0397 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.33
Indigo Blue
#3A18B1
ΔE00 4.43
Cobalt Blue
#030AA7
ΔE00 4.83
Royal Blue (survey)
#0504AA
ΔE00 5.34
Ultramarine
#2000B1
ΔE00 5.58
Sapphire (survey)
#2138AB
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2397 #8E9723
analogous
#235497 #2C2397 #662397
triadic
#2C2397 #972C23 #23972C
tetradic
#2C2397 #972354 #8E9723 #239766
square
#2C2397 #972354 #8E9723 #239766
split-complementary
#2C2397 #976623 #549723
monochromatic
#0F0C34 #1E1765 #2C2397 #3A2FC9 #655BD9
Accessibility & contrast
On white
11.70
#2C2397 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2C2397 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2397
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2397 | 1.00 | 11.70 | 1.79 | 11.70 |
| #FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D9A
Deuteranopia (green-blind)
#003395
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2c2397; /* rgb */ color: rgb(44, 35, 151); /* oklch */ color: oklch(35.9% 0.178 276.0);
Tailwind
colors: {
custom: {
50: '#7660b7',
500: '#2c2397',
950: '#000000',
},
}SCSS
$custom: #2c2397; $custom-light: #7660b7; $custom-dark: #000000;
JSON
{
"hex": "#2c2397",
"rgb": {
"r": 44,
"g": 35,
"b": 151
},
"hsl": {
"h": 244.655,
"s": 62.366,
"l": 36.471
},
"oklch": {
"l": 0.35906,
"c": 0.17848,
"h": 276
},
"luminance": 0.03972
}Semantic roles & 50–950 ramp
primary
#2C2397
secondary
#B6BE58
accent
#E542D9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980