#2A2B9E#2A2B9E
#2A2B9E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.180 H 273.3°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2B9E |
|---|---|
| RGB | rgb(42, 43, 158) |
| HSL | hsl(239, 58%, 39%) |
| HSV | hsv(239, 73%, 62%) |
| CMYK | cmyk(73.4%, 72.8%, 0%, 38%) |
| CIE-LAB | lab(25.83, 38.73, -61.99) |
| CIE-LCH | lch(25.83, 73.09, 302.00°) |
| OKLab | oklab(37.69% 0.0103 -0.1793) |
| OKLCH | oklch(37.69% 0.18 273.3) |
| XYZ | xyz(7.9882, 4.6878, 32.8250) |
| Luminance | 0.0469 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.13
Royal
#0C1793
ΔE00 5.01
Indigo Blue
#3A18B1
ΔE00 5.05
Cobalt Blue
#030AA7
ΔE00 6.21
Royal Blue (survey)
#0504AA
ΔE00 6.71
Ultramarine
#2000B1
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2B9E #9E9D2A
analogous
#2A659E #2A2B9E #632A9E
triadic
#2A2B9E #9E2A2B #2B9E2A
tetradic
#2A2B9E #9E2A65 #9E9D2A #2A9E63
square
#2A2B9E #9E2A65 #9E9D2A #2A9E63
split-complementary
#2A2B9E #9E632A #659E2A
monochromatic
#10113D #1D1E6E #2A2B9E #3A3CCB #6B6CD8
Accessibility & contrast
On white
10.84
#2A2B9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2A2B9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2B9E
10.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2B9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2B9E | 1.00 | 10.84 | 1.94 | 10.84 |
| #FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2a2b9e; /* rgb */ color: rgb(42, 43, 158); /* oklch */ color: oklch(37.7% 0.180 273.3);
Tailwind
colors: {
custom: {
50: '#7665bc',
500: '#2a2b9e',
950: '#000000',
},
}SCSS
$custom: #2a2b9e; $custom-light: #7665bc; $custom-dark: #000000;
JSON
{
"hex": "#2a2b9e",
"rgb": {
"r": 42,
"g": 43,
"b": 158
},
"hsl": {
"h": 239.483,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.37688,
"c": 0.1796,
"h": 273.3
},
"luminance": 0.04689
}Semantic roles & 50–950 ramp
primary
#2A2B9E
secondary
#BEBD66
accent
#E047E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81