#2A2B7A#2A2B7A
#2A2B7A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.131 H 276.4°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2B7A |
|---|---|
| RGB | rgb(42, 43, 122) |
| HSL | hsl(239, 49%, 32%) |
| HSV | hsv(239, 66%, 48%) |
| CMYK | cmyk(65.6%, 64.8%, 0%, 52.2%) |
| CIE-LAB | lab(22.39, 25.91, -45.23) |
| CIE-LCH | lch(22.39, 52.13, 299.81°) |
| OKLab | oklab(34.15% 0.0146 -0.1303) |
| OKLCH | oklch(34.15% 0.131 276.4) |
| XYZ | xyz(5.3304, 3.6247, 18.8273) |
| Luminance | 0.0362 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.00
Darkslateblue
#483D8B
ΔE00 6.51
Royal
#0C1793
ΔE00 6.96
Blueberry
#464196
ΔE00 7.55
Sapphire (survey)
#2138AB
ΔE00 7.90
Marine
#042E60
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2B7A #7A792A
analogous
#2A537A #2A2B7A #512A7A
triadic
#2A2B7A #7A2A2B #2B7A2A
tetradic
#2A2B7A #7A2A53 #7A792A #2A7A51
square
#2A2B7A #7A2A53 #7A792A #2A7A51
split-complementary
#2A2B7A #7A512A #537A2A
monochromatic
#0B0B1F #1A1B4C #2A2B7A #3A3BA8 #595AC6
Accessibility & contrast
On white
12.17
#2A2B7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#2A2B7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2B7A
12.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2B7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2B7A | 1.00 | 12.17 | 1.73 | 12.17 |
| #FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2a2b7a; /* rgb */ color: rgb(42, 43, 122); /* oklch */ color: oklch(34.2% 0.131 276.4);
Tailwind
colors: {
custom: {
50: '#6e64a1',
500: '#2a2b7a',
950: '#000000',
},
}SCSS
$custom: #2a2b7a; $custom-light: #6e64a1; $custom-dark: #000000;
JSON
{
"hex": "#2a2b7a",
"rgb": {
"r": 42,
"g": 43,
"b": 122
},
"hsl": {
"h": 239.25,
"s": 48.78,
"l": 32.157
},
"oklch": {
"l": 0.34151,
"c": 0.13109,
"h": 276.4
},
"luminance": 0.03625
}Semantic roles & 50–950 ramp
primary
#2A2B7A
secondary
#ABAA55
accent
#D74FD8
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08050F
muted
#7B7A7F