#2B2BA2#2B2BA2
#2B2BA2 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.184 H 273.4°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2BA2 |
|---|---|
| RGB | rgb(43, 43, 162) |
| HSL | hsl(240, 58%, 40%) |
| HSV | hsv(240, 73%, 64%) |
| CMYK | cmyk(73.5%, 73.5%, 0%, 36.5%) |
| CIE-LAB | lab(26.30, 40.20, -63.64) |
| CIE-LCH | lch(26.30, 75.28, 302.28°) |
| OKLab | oklab(38.17% 0.0108 -0.1841) |
| OKLCH | oklch(38.17% 0.184 273.4) |
| XYZ | xyz(8.3795, 4.8491, 34.6698) |
| Luminance | 0.0485 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.01
Indigo Blue
#3A18B1
ΔE00 4.65
Royal
#0C1793
ΔE00 5.22
Cobalt Blue
#030AA7
ΔE00 6.11
True Blue
#010FCC
ΔE00 6.53
Ultramarine
#2000B1
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2BA2 #A2A22B
analogous
#2B66A2 #2B2BA2 #662BA2
triadic
#2B2BA2 #A22B2B #2BA22B
tetradic
#2B2BA2 #A22B66 #A2A22B #2BA266
square
#2B2BA2 #A22B66 #A2A22B #2BA266
split-complementary
#2B2BA2 #A2662B #66A22B
monochromatic
#111141 #1E1E72 #2B2BA2 #3E3ECC #6F6FD9
Accessibility & contrast
On white
10.66
#2B2BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2B2BA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2BA2
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2BA2 | 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)
#0044A6
Deuteranopia (green-blind)
#0038A0
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2b2ba2; /* rgb */ color: rgb(43, 43, 162); /* oklch */ color: oklch(38.2% 0.184 273.4);
Tailwind
colors: {
custom: {
50: '#7766bf',
500: '#2b2ba2',
950: '#000000',
},
}SCSS
$custom: #2b2ba2; $custom-light: #7766bf; $custom-dark: #000000;
JSON
{
"hex": "#2b2ba2",
"rgb": {
"r": 43,
"g": 43,
"b": 162
},
"hsl": {
"h": 240,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.38167,
"c": 0.18442,
"h": 273.4
},
"luminance": 0.0485
}Semantic roles & 50–950 ramp
primary
#2B2BA2
secondary
#C0C069
accent
#E147E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81