#2B2CB2#2B2CB2
#2B2CB2 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.0% C 0.203 H 272.1°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2CB2 |
|---|---|
| RGB | rgb(43, 44, 178) |
| HSL | hsl(240, 61%, 43%) |
| HSV | hsv(240, 76%, 70%) |
| CMYK | cmyk(75.8%, 75.3%, 0%, 30.2%) |
| CIE-LAB | lab(28.19, 45.02, -70.15) |
| CIE-LCH | lch(28.19, 83.35, 302.69°) |
| OKLab | oklab(40.01% 0.0075 -0.2031) |
| OKLCH | oklch(40.01% 0.203 272.1) |
| XYZ | xyz(9.9301, 5.5283, 42.6546) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.84
Indigo Blue
#3A18B1
ΔE00 4.16
True Blue
#010FCC
ΔE00 5.23
Mediumblue
#0000CD
ΔE00 6.19
Ultramarine Blue
#1805DB
ΔE00 6.31
Ultramarine
#2000B1
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2CB2 #B2B12B
analogous
#2B6FB2 #2B2CB2 #6E2BB2
triadic
#2B2CB2 #B22B2C #2CB22B
tetradic
#2B2CB2 #B22B6F #B2B12B #2BB26E
square
#2B2CB2 #B22B6F #B2B12B #2BB26E
split-complementary
#2B2CB2 #B26E2B #6FB22B
monochromatic
#13144F #1F2081 #2B2CB2 #4849D3 #797ADF
Accessibility & contrast
On white
9.97
#2B2CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#2B2CB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2CB2
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2CB2 | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#003CB0
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2b2cb2; /* rgb */ color: rgb(43, 44, 178); /* oklch */ color: oklch(40.0% 0.203 272.1);
Tailwind
colors: {
custom: {
50: '#7b67ca',
500: '#2b2cb2',
950: '#000000',
},
}SCSS
$custom: #2b2cb2; $custom-light: #7b67ca; $custom-dark: #000000;
JSON
{
"hex": "#2b2cb2",
"rgb": {
"r": 43,
"g": 44,
"b": 178
},
"hsl": {
"h": 239.556,
"s": 61.086,
"l": 43.333
},
"oklch": {
"l": 0.40011,
"c": 0.2032,
"h": 272.1
},
"luminance": 0.05529
}Semantic roles & 50–950 ramp
primary
#2B2CB2
secondary
#C7C672
accent
#E344E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82