#2A2B7B#2A2B7B
#2A2B7B is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.133 H 276.3°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2B7B |
|---|---|
| RGB | rgb(42, 43, 123) |
| HSL | hsl(239, 49%, 32%) |
| HSV | hsv(239, 66%, 48%) |
| CMYK | cmyk(65.9%, 65%, 0%, 51.8%) |
| CIE-LAB | lab(22.48, 26.28, -45.73) |
| CIE-LCH | lch(22.48, 52.74, 299.89°) |
| OKLab | oklab(34.24% 0.0145 -0.1317) |
| OKLCH | oklch(34.24% 0.133 276.3) |
| XYZ | xyz(5.3927, 3.6496, 19.1553) |
| Luminance | 0.0365 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.00
Darkslateblue
#483D8B
ΔE00 6.48
Royal
#0C1793
ΔE00 6.82
Blueberry
#464196
ΔE00 7.49
Sapphire (survey)
#2138AB
ΔE00 7.76
Marine
#042E60
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2B7B #7B7A2A
analogous
#2A547B #2A2B7B #512A7B
triadic
#2A2B7B #7B2A2B #2B7B2A
tetradic
#2A2B7B #7B2A54 #7B7A2A #2A7B51
square
#2A2B7B #7B2A54 #7B7A2A #2A7B51
split-complementary
#2A2B7B #7B512A #547B2A
monochromatic
#0B0B20 #1A1B4D #2A2B7B #3A3BA9 #595AC6
Accessibility & contrast
On white
12.14
#2A2B7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#2A2B7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2B7B
12.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2B7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2B7B | 1.00 | 12.14 | 1.73 | 12.14 |
| #FFFFFF | 12.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2a2b7b; /* rgb */ color: rgb(42, 43, 123); /* oklch */ color: oklch(34.2% 0.133 276.3);
Tailwind
colors: {
custom: {
50: '#6e64a2',
500: '#2a2b7b',
950: '#000000',
},
}SCSS
$custom: #2a2b7b; $custom-light: #6e64a2; $custom-dark: #000000;
JSON
{
"hex": "#2a2b7b",
"rgb": {
"r": 42,
"g": 43,
"b": 123
},
"hsl": {
"h": 239.259,
"s": 49.091,
"l": 32.353
},
"oklch": {
"l": 0.34243,
"c": 0.13251,
"h": 276.3
},
"luminance": 0.0365
}Semantic roles & 50–950 ramp
primary
#2A2B7B
secondary
#ACAB55
accent
#D74FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F