#2A2C7B#2A2C7B
#2A2C7B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.131 H 275.9°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2C7B |
|---|---|
| RGB | rgb(42, 44, 123) |
| HSL | hsl(239, 49%, 32%) |
| HSV | hsv(239, 66%, 48%) |
| CMYK | cmyk(65.9%, 64.2%, 0%, 51.8%) |
| CIE-LAB | lab(22.73, 25.61, -45.31) |
| CIE-LCH | lch(22.73, 52.04, 299.47°) |
| OKLab | oklab(34.43% 0.0136 -0.1305) |
| OKLCH | oklch(34.43% 0.131 275.9) |
| XYZ | xyz(5.4295, 3.7232, 19.1676) |
| Luminance | 0.0372 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.28
Darkslateblue
#483D8B
ΔE00 6.33
Royal
#0C1793
ΔE00 7.08
Blueberry
#464196
ΔE00 7.31
Sapphire (survey)
#2138AB
ΔE00 7.66
Marine
#042E60
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2C7B #7B792A
analogous
#2A547B #2A2C7B #512A7B
triadic
#2A2C7B #7B2A2C #2C7B2A
tetradic
#2A2C7B #7B2A54 #7B792A #2A7B51
square
#2A2C7B #7B2A54 #7B792A #2A7B51
split-complementary
#2A2C7B #7B512A #547B2A
monochromatic
#0B0B20 #1A1C4D #2A2C7B #3A3CA9 #595CC6
Accessibility & contrast
On white
12.04
#2A2C7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#2A2C7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2C7B
12.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2C7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2C7B | 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)
#003A7E
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2a2c7b; /* rgb */ color: rgb(42, 44, 123); /* oklch */ color: oklch(34.4% 0.131 275.9);
Tailwind
colors: {
custom: {
50: '#6e65a2',
500: '#2a2c7b',
950: '#000000',
},
}SCSS
$custom: #2a2c7b; $custom-light: #6e65a2; $custom-dark: #000000;
JSON
{
"hex": "#2a2c7b",
"rgb": {
"r": 42,
"g": 44,
"b": 123
},
"hsl": {
"h": 238.519,
"s": 49.091,
"l": 32.353
},
"oklch": {
"l": 0.34432,
"c": 0.13118,
"h": 275.9
},
"luminance": 0.03724
}Semantic roles & 50–950 ramp
primary
#2A2C7B
secondary
#ACAA55
accent
#D54FD9
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08050F
muted
#7B7A7F