#2C2A7F#2C2A7F
#2C2A7F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.139 H 277.3°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2A7F |
|---|---|
| RGB | rgb(44, 42, 127) |
| HSL | hsl(241, 50%, 33%) |
| HSV | hsv(241, 67%, 50%) |
| CMYK | cmyk(65.4%, 66.9%, 0%, 50.2%) |
| CIE-LAB | lab(22.73, 28.71, -47.83) |
| CIE-LCH | lch(22.73, 55.79, 300.97°) |
| OKLab | oklab(34.58% 0.0177 -0.1378) |
| OKLCH | oklch(34.58% 0.139 277.3) |
| XYZ | xyz(5.6962, 3.7232, 20.4930) |
| Luminance | 0.0372 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.87
Royal
#0C1793
ΔE00 6.12
Darkslateblue
#483D8B
ΔE00 6.39
Blueberry
#464196
ΔE00 7.35
Sapphire (survey)
#2138AB
ΔE00 7.39
Indigo (survey)
#380282
ΔE00 8.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2A7F #7D7F2A
analogous
#2A527F #2C2A7F #562A7F
triadic
#2C2A7F #7F2C2A #2A7F2C
tetradic
#2C2A7F #7F2A52 #7D7F2A #2A7F56
square
#2C2A7F #7F2A52 #7D7F2A #2A7F56
split-complementary
#2C2A7F #7F562A #527F2A
monochromatic
#0C0C23 #1C1B51 #2C2A7F #3C39AD #5D5BC9
Accessibility & contrast
On white
12.04
#2C2A7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#2C2A7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2A7F
12.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2A7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2A7F | 1.00 | 12.04 | 1.74 | 12.04 |
| #FFFFFF | 12.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2c2a7f; /* rgb */ color: rgb(44, 42, 127); /* oklch */ color: oklch(34.6% 0.139 277.3);
Tailwind
colors: {
custom: {
50: '#7064a5',
500: '#2c2a7f',
950: '#000000',
},
}SCSS
$custom: #2c2a7f; $custom-light: #7064a5; $custom-dark: #000000;
JSON
{
"hex": "#2c2a7f",
"rgb": {
"r": 44,
"g": 42,
"b": 127
},
"hsl": {
"h": 241.412,
"s": 50.296,
"l": 33.137
},
"oklch": {
"l": 0.34581,
"c": 0.13898,
"h": 277.3
},
"luminance": 0.03724
}Semantic roles & 50–950 ramp
primary
#2C2A7F
secondary
#ACAE57
accent
#DA4ED7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F