#2C2B7E#2C2B7E
#2C2B7E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.136 H 277.1°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2B7E |
|---|---|
| RGB | rgb(44, 43, 126) |
| HSL | hsl(241, 49%, 33%) |
| HSV | hsv(241, 66%, 49%) |
| CMYK | cmyk(65.1%, 65.9%, 0%, 50.6%) |
| CIE-LAB | lab(22.89, 27.69, -46.94) |
| CIE-LCH | lch(22.89, 54.50, 300.54°) |
| OKLab | oklab(34.67% 0.0169 -0.1352) |
| OKLCH | oklch(34.67% 0.136 277.1) |
| XYZ | xyz(5.6673, 3.7691, 20.1635) |
| Luminance | 0.0377 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.08
Darkslateblue
#483D8B
ΔE00 6.23
Royal
#0C1793
ΔE00 6.48
Blueberry
#464196
ΔE00 7.20
Sapphire (survey)
#2138AB
ΔE00 7.41
Marine
#042E60
ΔE00 8.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2B7E #7D7E2B
analogous
#2B537E #2C2B7E #552B7E
triadic
#2C2B7E #7E2C2B #2B7E2C
tetradic
#2C2B7E #7E2B53 #7D7E2B #2B7E55
square
#2C2B7E #7E2B53 #7D7E2B #2B7E55
split-complementary
#2C2B7E #7E552B #537E2B
monochromatic
#0C0C23 #1C1B50 #2C2B7E #3C3BAC #5D5CC7
Accessibility & contrast
On white
11.97
#2C2B7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#2C2B7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2B7E
11.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2B7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2B7E | 1.00 | 11.97 | 1.75 | 11.97 |
| #FFFFFF | 11.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2c2b7e; /* rgb */ color: rgb(44, 43, 126); /* oklch */ color: oklch(34.7% 0.136 277.1);
Tailwind
colors: {
custom: {
50: '#7064a4',
500: '#2c2b7e',
950: '#000000',
},
}SCSS
$custom: #2c2b7e; $custom-light: #7064a4; $custom-dark: #000000;
JSON
{
"hex": "#2c2b7e",
"rgb": {
"r": 44,
"g": 43,
"b": 126
},
"hsl": {
"h": 240.723,
"s": 49.112,
"l": 33.137
},
"oklch": {
"l": 0.34668,
"c": 0.13628,
"h": 277.1
},
"luminance": 0.0377
}Semantic roles & 50–950 ramp
primary
#2C2B7E
secondary
#ACAD58
accent
#D94FD7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F