#2B2AA3#2B2AA3
#2B2AA3 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.187 H 273.4°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2AA3 |
|---|---|
| RGB | rgb(43, 42, 163) |
| HSL | hsl(240, 59%, 40%) |
| HSV | hsv(240, 74%, 64%) |
| CMYK | cmyk(73.6%, 74.2%, 0%, 36.1%) |
| CIE-LAB | lab(26.20, 41.13, -64.42) |
| CIE-LCH | lch(26.20, 76.43, 302.56°) |
| OKLab | oklab(38.12% 0.0112 -0.1864) |
| OKLCH | oklch(38.12% 0.187 273.4) |
| XYZ | xyz(8.4329, 4.8130, 35.1278) |
| Luminance | 0.0481 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.22
Indigo Blue
#3A18B1
ΔE00 4.37
Royal
#0C1793
ΔE00 5.08
Cobalt Blue
#030AA7
ΔE00 5.86
True Blue
#010FCC
ΔE00 6.27
Ultramarine
#2000B1
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2AA3 #A2A32A
analogous
#2A65A3 #2B2AA3 #682AA3
triadic
#2B2AA3 #A32B2A #2AA32B
tetradic
#2B2AA3 #A32A65 #A2A32A #2AA368
square
#2B2AA3 #A32A65 #A2A32A #2AA368
split-complementary
#2B2AA3 #A3682A #65A32A
monochromatic
#111142 #1E1D72 #2B2AA3 #3E3DCD #6F6EDA
Accessibility & contrast
On white
10.70
#2B2AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2B2AA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2AA3
10.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2AA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2AA3 | 1.00 | 10.70 | 1.96 | 10.70 |
| #FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A7
Deuteranopia (green-blind)
#0038A1
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2b2aa3; /* rgb */ color: rgb(43, 42, 163); /* oklch */ color: oklch(38.1% 0.187 273.4);
Tailwind
colors: {
custom: {
50: '#7865bf',
500: '#2b2aa3',
950: '#000000',
},
}SCSS
$custom: #2b2aa3; $custom-light: #7865bf; $custom-dark: #000000;
JSON
{
"hex": "#2b2aa3",
"rgb": {
"r": 43,
"g": 42,
"b": 163
},
"hsl": {
"h": 240.496,
"s": 59.024,
"l": 40.196
},
"oklch": {
"l": 0.38123,
"c": 0.18669,
"h": 273.4
},
"luminance": 0.04814
}Semantic roles & 50–950 ramp
primary
#2B2AA3
secondary
#C0C068
accent
#E246E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81