#2B2AA5#2B2AA5
#2B2AA5 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.189 H 273.3°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2AA5 |
|---|---|
| RGB | rgb(43, 42, 165) |
| HSL | hsl(240, 59%, 41%) |
| HSV | hsv(240, 75%, 65%) |
| CMYK | cmyk(73.9%, 74.5%, 0%, 35.3%) |
| CIE-LAB | lab(26.41, 41.80, -65.28) |
| CIE-LCH | lch(26.41, 77.52, 302.63°) |
| OKLab | oklab(38.34% 0.0108 -0.1889) |
| OKLCH | oklch(38.34% 0.189 273.3) |
| XYZ | xyz(8.6135, 4.8853, 36.0790) |
| Luminance | 0.0489 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.17
Indigo Blue
#3A18B1
ΔE00 4.22
Royal
#0C1793
ΔE00 5.21
Cobalt Blue
#030AA7
ΔE00 5.84
True Blue
#010FCC
ΔE00 6.05
Ultramarine
#2000B1
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2AA5 #A4A52A
analogous
#2A66A5 #2B2AA5 #682AA5
triadic
#2B2AA5 #A52B2A #2AA52B
tetradic
#2B2AA5 #A52A66 #A4A52A #2AA568
square
#2B2AA5 #A52A66 #A4A52A #2AA568
split-complementary
#2B2AA5 #A5682A #66A52A
monochromatic
#121143 #1E1E74 #2B2AA5 #3F3ECE #706FDA
Accessibility & contrast
On white
10.62
#2B2AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#2B2AA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2AA5
10.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2AA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2AA5 | 1.00 | 10.62 | 1.98 | 10.62 |
| #FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A9
Deuteranopia (green-blind)
#0038A3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2b2aa5; /* rgb */ color: rgb(43, 42, 165); /* oklch */ color: oklch(38.3% 0.189 273.3);
Tailwind
colors: {
custom: {
50: '#7865c1',
500: '#2b2aa5',
950: '#000000',
},
}SCSS
$custom: #2b2aa5; $custom-light: #7865c1; $custom-dark: #000000;
JSON
{
"hex": "#2b2aa5",
"rgb": {
"r": 43,
"g": 42,
"b": 165
},
"hsl": {
"h": 240.488,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.38335,
"c": 0.18919,
"h": 273.3
},
"luminance": 0.04886
}Semantic roles & 50–950 ramp
primary
#2B2AA5
secondary
#C1C169
accent
#E345E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81