#2B2CA6#2B2CA6
#2B2CA6 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.188 H 272.9°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2CA6 |
|---|---|
| RGB | rgb(43, 44, 166) |
| HSL | hsl(240, 59%, 41%) |
| HSV | hsv(240, 74%, 65%) |
| CMYK | cmyk(74.1%, 73.5%, 0%, 34.9%) |
| CIE-LAB | lab(26.93, 40.98, -65.03) |
| CIE-LCH | lch(26.93, 76.87, 302.22°) |
| OKLab | oklab(38.74% 0.0096 -0.1882) |
| OKLCH | oklch(38.74% 0.188 272.9) |
| XYZ | xyz(8.7776, 5.0672, 36.5845) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.67
Indigo Blue
#3A18B1
ΔE00 4.59
Royal
#0C1793
ΔE00 5.65
True Blue
#010FCC
ΔE00 6.27
Cobalt Blue
#030AA7
ΔE00 6.31
Ultramarine
#2000B1
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2CA6 #A6A52B
analogous
#2B69A6 #2B2CA6 #672BA6
triadic
#2B2CA6 #A62B2C #2CA62B
tetradic
#2B2CA6 #A62B69 #A6A52B #2BA667
square
#2B2CA6 #A62B69 #A6A52B #2BA667
split-complementary
#2B2CA6 #A6672B #69A62B
monochromatic
#121245 #1E1F75 #2B2CA6 #4142CE #7172DA
Accessibility & contrast
On white
10.43
#2B2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#2B2CA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2CA6
10.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2CA6 | 1.00 | 10.43 | 2.01 | 10.43 |
| #FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003AA4
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2b2ca6; /* rgb */ color: rgb(43, 44, 166); /* oklch */ color: oklch(38.7% 0.188 272.9);
Tailwind
colors: {
custom: {
50: '#7866c2',
500: '#2b2ca6',
950: '#000000',
},
}SCSS
$custom: #2b2ca6; $custom-light: #7866c2; $custom-dark: #000000;
JSON
{
"hex": "#2b2ca6",
"rgb": {
"r": 43,
"g": 44,
"b": 166
},
"hsl": {
"h": 239.512,
"s": 58.852,
"l": 40.98
},
"oklch": {
"l": 0.38736,
"c": 0.18841,
"h": 272.9
},
"luminance": 0.05068
}Semantic roles & 50–950 ramp
primary
#2B2CA6
secondary
#C1C16B
accent
#E146E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81