#2C2B97#2C2B97
#2C2B97 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.170 H 274.7°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2B97 |
|---|---|
| RGB | rgb(44, 43, 151) |
| HSL | hsl(241, 56%, 38%) |
| HSV | hsv(241, 72%, 59%) |
| CMYK | cmyk(70.9%, 71.5%, 0%, 40.8%) |
| CIE-LAB | lab(25.25, 36.53, -58.65) |
| CIE-LCH | lch(25.25, 69.10, 301.91°) |
| OKLab | oklab(37.1% 0.0138 -0.1695) |
| OKLCH | oklch(37.1% 0.17 274.7) |
| XYZ | xyz(7.4866, 4.4969, 29.7456) |
| Luminance | 0.0450 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.64
Royal
#0C1793
ΔE00 4.92
Indigo Blue
#3A18B1
ΔE00 5.66
Cobalt Blue
#030AA7
ΔE00 6.56
Blueberry
#464196
ΔE00 6.75
Darkslateblue
#483D8B
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2B97 #96972B
analogous
#2B6097 #2C2B97 #622B97
triadic
#2C2B97 #972C2B #2B972C
tetradic
#2C2B97 #972B60 #96972B #2B9762
square
#2C2B97 #972B60 #96972B #2B9762
split-complementary
#2C2B97 #97622B #60972B
monochromatic
#101038 #1E1D67 #2C2B97 #3A39C7 #6968D4
Accessibility & contrast
On white
11.05
#2C2B97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2C2B97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2B97
11.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2B97 | 1.00 | 11.05 | 1.90 | 11.05 |
| #FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003795
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2c2b97; /* rgb */ color: rgb(44, 43, 151); /* oklch */ color: oklch(37.1% 0.170 274.7);
Tailwind
colors: {
custom: {
50: '#7565b7',
500: '#2c2b97',
950: '#000000',
},
}SCSS
$custom: #2c2b97; $custom-light: #7565b7; $custom-dark: #000000;
JSON
{
"hex": "#2c2b97",
"rgb": {
"r": 44,
"g": 43,
"b": 151
},
"hsl": {
"h": 240.556,
"s": 55.67,
"l": 38.039
},
"oklch": {
"l": 0.37097,
"c": 0.17008,
"h": 274.7
},
"luminance": 0.04498
}Semantic roles & 50–950 ramp
primary
#2C2B97
secondary
#BABB63
accent
#DF49DE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80