#2C2989#2C2989
#2C2989 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.154 H 276.5°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2989 |
|---|---|
| RGB | rgb(44, 41, 137) |
| HSL | hsl(242, 54%, 35%) |
| HSV | hsv(242, 70%, 54%) |
| CMYK | cmyk(67.9%, 70.1%, 0%, 46.3%) |
| CIE-LAB | lab(23.43, 32.89, -52.98) |
| CIE-LCH | lch(23.43, 62.35, 301.83°) |
| OKLab | oklab(35.37% 0.0173 -0.1529) |
| OKLCH | oklch(35.37% 0.154 276.5) |
| XYZ | xyz(6.3455, 3.9269, 24.0856) |
| Luminance | 0.0393 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.92
Midnight Blue
#191970
ΔE00 5.36
Sapphire (survey)
#2138AB
ΔE00 6.32
Darkslateblue
#483D8B
ΔE00 6.63
Indigo Blue
#3A18B1
ΔE00 7.08
Blueberry
#464196
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2989 #868929
analogous
#295689 #2C2989 #5C2989
triadic
#2C2989 #892C29 #29892C
tetradic
#2C2989 #892956 #868929 #29895C
square
#2C2989 #892956 #868929 #29895C
split-complementary
#2C2989 #895C29 #568929
monochromatic
#0E0D2B #1D1B5A #2C2989 #3B37B8 #615ECF
Accessibility & contrast
On white
11.76
#2C2989 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2C2989 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2989
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2989 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2989 | 1.00 | 11.76 | 1.79 | 11.76 |
| #FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2c2989; /* rgb */ color: rgb(44, 41, 137); /* oklch */ color: oklch(35.4% 0.154 276.5);
Tailwind
colors: {
custom: {
50: '#7263ac',
500: '#2c2989',
950: '#000000',
},
}SCSS
$custom: #2c2989; $custom-light: #7263ac; $custom-dark: #000000;
JSON
{
"hex": "#2c2989",
"rgb": {
"r": 44,
"g": 41,
"b": 137
},
"hsl": {
"h": 241.875,
"s": 53.933,
"l": 34.902
},
"oklch": {
"l": 0.3537,
"c": 0.15391,
"h": 276.5
},
"luminance": 0.03927
}Semantic roles & 50–950 ramp
primary
#2C2989
secondary
#B1B45A
accent
#DD4AD9
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F