#2B2AA4#2B2AA4
#2B2AA4 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.188 H 273.3°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2AA4 |
|---|---|
| RGB | rgb(43, 42, 164) |
| HSL | hsl(240, 59%, 40%) |
| HSV | hsv(240, 74%, 64%) |
| CMYK | cmyk(73.8%, 74.4%, 0%, 35.7%) |
| CIE-LAB | lab(26.30, 41.47, -64.85) |
| CIE-LCH | lch(26.30, 76.98, 302.60°) |
| OKLab | oklab(38.23% 0.011 -0.1876) |
| OKLCH | oklch(38.23% 0.188 273.3) |
| XYZ | xyz(8.5228, 4.8490, 35.6015) |
| Luminance | 0.0485 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.19
Indigo Blue
#3A18B1
ΔE00 4.29
Royal
#0C1793
ΔE00 5.14
Cobalt Blue
#030AA7
ΔE00 5.85
True Blue
#010FCC
ΔE00 6.16
Ultramarine
#2000B1
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2AA4 #A3A42A
analogous
#2A66A4 #2B2AA4 #682AA4
triadic
#2B2AA4 #A42B2A #2AA42B
tetradic
#2B2AA4 #A42A66 #A3A42A #2AA468
square
#2B2AA4 #A42A66 #A3A42A #2AA468
split-complementary
#2B2AA4 #A4682A #66A42A
monochromatic
#111143 #1E1E73 #2B2AA4 #3F3ECD #6F6EDA
Accessibility & contrast
On white
10.66
#2B2AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2B2AA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2AA4
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2AA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2AA4 | 1.00 | 10.66 | 1.97 | 10.66 |
| #FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A8
Deuteranopia (green-blind)
#0038A2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2b2aa4; /* rgb */ color: rgb(43, 42, 164); /* oklch */ color: oklch(38.2% 0.188 273.3);
Tailwind
colors: {
custom: {
50: '#7865c0',
500: '#2b2aa4',
950: '#000000',
},
}SCSS
$custom: #2b2aa4; $custom-light: #7865c0; $custom-dark: #000000;
JSON
{
"hex": "#2b2aa4",
"rgb": {
"r": 43,
"g": 42,
"b": 164
},
"hsl": {
"h": 240.492,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.38229,
"c": 0.18794,
"h": 273.3
},
"luminance": 0.0485
}Semantic roles & 50–950 ramp
primary
#2B2AA4
secondary
#C0C169
accent
#E245E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81