#2C2A7E#2C2A7E
#2C2A7E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.138 H 277.4°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2A7E |
|---|---|
| RGB | rgb(44, 42, 126) |
| HSL | hsl(241, 50%, 33%) |
| HSV | hsv(241, 67%, 49%) |
| CMYK | cmyk(65.1%, 66.7%, 0%, 50.6%) |
| CIE-LAB | lab(22.64, 28.35, -47.35) |
| CIE-LCH | lch(22.64, 55.19, 300.91°) |
| OKLab | oklab(34.49% 0.0178 -0.1364) |
| OKLCH | oklch(34.49% 0.138 277.4) |
| XYZ | xyz(5.6313, 3.6973, 20.1515) |
| Luminance | 0.0370 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.84
Royal
#0C1793
ΔE00 6.24
Darkslateblue
#483D8B
ΔE00 6.40
Blueberry
#464196
ΔE00 7.40
Sapphire (survey)
#2138AB
ΔE00 7.53
Indigo (survey)
#380282
ΔE00 8.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2A7E #7C7E2A
analogous
#2A527E #2C2A7E #562A7E
triadic
#2C2A7E #7E2C2A #2A7E2C
tetradic
#2C2A7E #7E2A52 #7C7E2A #2A7E56
square
#2C2A7E #7E2A52 #7C7E2A #2A7E56
split-complementary
#2C2A7E #7E562A #527E2A
monochromatic
#0C0B22 #1C1B50 #2C2A7E #3C39AC #5D5AC8
Accessibility & contrast
On white
12.07
#2C2A7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#2C2A7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2A7E
12.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2A7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2A7E | 1.00 | 12.07 | 1.74 | 12.07 |
| #FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#003F50
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2c2a7e; /* rgb */ color: rgb(44, 42, 126); /* oklch */ color: oklch(34.5% 0.138 277.4);
Tailwind
colors: {
custom: {
50: '#7064a4',
500: '#2c2a7e',
950: '#000000',
},
}SCSS
$custom: #2c2a7e; $custom-light: #7064a4; $custom-dark: #000000;
JSON
{
"hex": "#2c2a7e",
"rgb": {
"r": 44,
"g": 42,
"b": 126
},
"hsl": {
"h": 241.429,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.34487,
"c": 0.13758,
"h": 277.4
},
"luminance": 0.03698
}Semantic roles & 50–950 ramp
primary
#2C2A7E
secondary
#ACAE56
accent
#DA4ED6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F