#2B2CB9#2B2CB9
#2B2CB9 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.8% C 0.212 H 271.7°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2CB9 |
|---|---|
| RGB | rgb(43, 44, 185) |
| HSL | hsl(240, 62%, 45%) |
| HSV | hsv(240, 77%, 73%) |
| CMYK | cmyk(76.8%, 76.2%, 0%, 27.5%) |
| CIE-LAB | lab(28.95, 47.33, -73.07) |
| CIE-LCH | lch(28.95, 87.06, 302.93°) |
| OKLab | oklab(40.77% 0.0062 -0.2115) |
| OKLCH | oklch(40.77% 0.212 271.7) |
| XYZ | xyz(10.6509, 5.8166, 46.4509) |
| Luminance | 0.0582 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.19
Indigo Blue
#3A18B1
ΔE00 4.22
True Blue
#010FCC
ΔE00 4.83
Ultramarine Blue
#1805DB
ΔE00 5.69
Mediumblue
#0000CD
ΔE00 5.85
Pure Blue
#0203E2
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2CB9 #B9B82B
analogous
#2B73B9 #2B2CB9 #712BB9
triadic
#2B2CB9 #B92B2C #2CB92B
tetradic
#2B2CB9 #B92B73 #B9B82B #2BB971
square
#2B2CB9 #B92B73 #B9B82B #2BB971
split-complementary
#2B2CB9 #B9712B #73B92B
monochromatic
#141456 #1F2087 #2B2CB9 #4C4DD5 #7E7EE1
Accessibility & contrast
On white
9.71
#2B2CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2B2CB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2CB9
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2CB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2CB9 | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BBD
Deuteranopia (green-blind)
#003DB7
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2b2cb9; /* rgb */ color: rgb(43, 44, 185); /* oklch */ color: oklch(40.8% 0.212 271.7);
Tailwind
colors: {
custom: {
50: '#7d67cf',
500: '#2b2cb9',
950: '#000000',
},
}SCSS
$custom: #2b2cb9; $custom-light: #7d67cf; $custom-dark: #000000;
JSON
{
"hex": "#2b2cb9",
"rgb": {
"r": 43,
"g": 44,
"b": 185
},
"hsl": {
"h": 239.577,
"s": 62.281,
"l": 44.706
},
"oklch": {
"l": 0.40768,
"c": 0.21162,
"h": 271.7
},
"luminance": 0.05818
}Semantic roles & 50–950 ramp
primary
#2B2CB9
secondary
#C9C976
accent
#E442E5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82