#2B2BA3#2B2BA3
#2B2BA3 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.186 H 273.3°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2BA3 |
|---|---|
| RGB | rgb(43, 43, 163) |
| HSL | hsl(240, 58%, 40%) |
| HSV | hsv(240, 74%, 64%) |
| CMYK | cmyk(73.6%, 73.6%, 0%, 36.1%) |
| CIE-LAB | lab(26.40, 40.55, -64.08) |
| CIE-LCH | lch(26.40, 75.83, 302.32°) |
| OKLab | oklab(38.27% 0.0106 -0.1854) |
| OKLCH | oklch(38.27% 0.186 273.3) |
| XYZ | xyz(8.4688, 4.8848, 35.1398) |
| Luminance | 0.0489 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.98
Indigo Blue
#3A18B1
ΔE00 4.58
Royal
#0C1793
ΔE00 5.28
Cobalt Blue
#030AA7
ΔE00 6.10
True Blue
#010FCC
ΔE00 6.42
Ultramarine
#2000B1
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2BA3 #A3A32B
analogous
#2B67A3 #2B2BA3 #672BA3
triadic
#2B2BA3 #A32B2B #2BA32B
tetradic
#2B2BA3 #A32B67 #A3A32B #2BA367
square
#2B2BA3 #A32B67 #A3A32B #2BA367
split-complementary
#2B2BA3 #A3672B #67A32B
monochromatic
#111142 #1E1E73 #2B2BA3 #3F3FCC #6F6FD9
Accessibility & contrast
On white
10.62
#2B2BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#2B2BA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2BA3
10.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2BA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2BA3 | 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)
#0044A7
Deuteranopia (green-blind)
#0039A1
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2b2ba3; /* rgb */ color: rgb(43, 43, 163); /* oklch */ color: oklch(38.3% 0.186 273.3);
Tailwind
colors: {
custom: {
50: '#7866bf',
500: '#2b2ba3',
950: '#000000',
},
}SCSS
$custom: #2b2ba3; $custom-light: #7866bf; $custom-dark: #000000;
JSON
{
"hex": "#2b2ba3",
"rgb": {
"r": 43,
"g": 43,
"b": 163
},
"hsl": {
"h": 240,
"s": 58.252,
"l": 40.392
},
"oklch": {
"l": 0.38272,
"c": 0.18568,
"h": 273.3
},
"luminance": 0.04886
}Semantic roles & 50–950 ramp
primary
#2B2BA3
secondary
#C0C06A
accent
#E146E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81