#2B2A9E#2B2A9E
#2B2A9E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.180 H 273.8°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2A9E |
|---|---|
| RGB | rgb(43, 42, 158) |
| HSL | hsl(241, 58%, 39%) |
| HSV | hsv(241, 73%, 62%) |
| CMYK | cmyk(72.8%, 73.4%, 0%, 38%) |
| CIE-LAB | lab(25.68, 39.43, -62.24) |
| CIE-LCH | lch(25.68, 73.67, 302.36°) |
| OKLab | oklab(37.6% 0.012 -0.18) |
| OKLCH | oklch(37.6% 0.18 273.8) |
| XYZ | xyz(7.9937, 4.6374, 32.8149) |
| Luminance | 0.0464 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.40
Indigo Blue
#3A18B1
ΔE00 4.80
Royal
#0C1793
ΔE00 4.83
Cobalt Blue
#030AA7
ΔE00 5.98
Royal Blue (survey)
#0504AA
ΔE00 6.47
Ultramarine
#2000B1
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2A9E #9D9E2A
analogous
#2A639E #2B2A9E #652A9E
triadic
#2B2A9E #9E2B2A #2A9E2B
tetradic
#2B2A9E #9E2A63 #9D9E2A #2A9E65
square
#2B2A9E #9E2A63 #9D9E2A #2A9E65
split-complementary
#2B2A9E #9E652A #639E2A
monochromatic
#11103D #1E1D6E #2B2A9E #3C3ACB #6C6BD8
Accessibility & contrast
On white
10.89
#2B2A9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2B2A9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2A9E
10.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2A9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2A9E | 1.00 | 10.89 | 1.93 | 10.89 |
| #FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2b2a9e; /* rgb */ color: rgb(43, 42, 158); /* oklch */ color: oklch(37.6% 0.180 273.8);
Tailwind
colors: {
custom: {
50: '#7665bc',
500: '#2b2a9e',
950: '#000000',
},
}SCSS
$custom: #2b2a9e; $custom-light: #7665bc; $custom-dark: #000000;
JSON
{
"hex": "#2b2a9e",
"rgb": {
"r": 43,
"g": 42,
"b": 158
},
"hsl": {
"h": 240.517,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.37597,
"c": 0.1804,
"h": 273.8
},
"luminance": 0.04638
}Semantic roles & 50–950 ramp
primary
#2B2A9E
secondary
#BDBE66
accent
#E147E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81