#2B2AB6#2B2AB6
#2B2AB6 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.2% C 0.210 H 272.1°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2AB6 |
|---|---|
| RGB | rgb(43, 42, 182) |
| HSL | hsl(240, 63%, 44%) |
| HSV | hsv(240, 77%, 71%) |
| CMYK | cmyk(76.4%, 76.9%, 0%, 28.6%) |
| CIE-LAB | lab(28.24, 47.43, -72.46) |
| CIE-LCH | lch(28.24, 86.60, 303.21°) |
| OKLab | oklab(40.17% 0.0076 -0.2097) |
| OKLCH | oklch(40.17% 0.21 272.1) |
| XYZ | xyz(10.2649, 5.5458, 44.7764) |
| Luminance | 0.0555 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.73
Sapphire (survey)
#2138AB
ΔE00 4.43
True Blue
#010FCC
ΔE00 4.61
Mediumblue
#0000CD
ΔE00 5.58
Ultramarine Blue
#1805DB
ΔE00 5.63
Violet Blue
#510AC9
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2AB6 #B5B62A
analogous
#2A6FB6 #2B2AB6 #712AB6
triadic
#2B2AB6 #B62B2A #2AB62B
tetradic
#2B2AB6 #B62A6F #B5B62A #2AB671
square
#2B2AB6 #B62A6F #B5B62A #2AB671
split-complementary
#2B2AB6 #B6712A #6FB62A
monochromatic
#141353 #1F1F84 #2B2AB6 #4948D5 #7B7AE0
Accessibility & contrast
On white
9.96
#2B2AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#2B2AB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2AB6
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2AB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2AB6 | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049BA
Deuteranopia (green-blind)
#003CB4
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2b2ab6; /* rgb */ color: rgb(43, 42, 182); /* oklch */ color: oklch(40.2% 0.210 272.1);
Tailwind
colors: {
custom: {
50: '#7c66cd',
500: '#2b2ab6',
950: '#000000',
},
}SCSS
$custom: #2b2ab6; $custom-light: #7c66cd; $custom-dark: #000000;
JSON
{
"hex": "#2b2ab6",
"rgb": {
"r": 43,
"g": 42,
"b": 182
},
"hsl": {
"h": 240.429,
"s": 62.5,
"l": 43.922
},
"oklch": {
"l": 0.40172,
"c": 0.20988,
"h": 272.1
},
"luminance": 0.05547
}Semantic roles & 50–950 ramp
primary
#2B2AB6
secondary
#C8C873
accent
#E642E4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82