#2B2CA2#2B2CA2
#2B2CA2 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.183 H 273.2°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2CA2 |
|---|---|
| RGB | rgb(43, 44, 162) |
| HSL | hsl(239, 58%, 40%) |
| HSV | hsv(239, 73%, 64%) |
| CMYK | cmyk(73.5%, 72.8%, 0%, 36.5%) |
| CIE-LAB | lab(26.51, 39.61, -63.29) |
| CIE-LCH | lch(26.51, 74.66, 302.04°) |
| OKLab | oklab(38.32% 0.0103 -0.1831) |
| OKLCH | oklch(38.32% 0.183 273.2) |
| XYZ | xyz(8.4163, 4.9227, 34.6820) |
| Luminance | 0.0492 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.77
Indigo Blue
#3A18B1
ΔE00 4.87
Royal
#0C1793
ΔE00 5.43
Cobalt Blue
#030AA7
ΔE00 6.36
True Blue
#010FCC
ΔE00 6.69
Ultramarine
#2000B1
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2CA2 #A2A12B
analogous
#2B67A2 #2B2CA2 #662BA2
triadic
#2B2CA2 #A22B2C #2CA22B
tetradic
#2B2CA2 #A22B67 #A2A12B #2BA266
square
#2B2CA2 #A22B67 #A2A12B #2BA266
split-complementary
#2B2CA2 #A2662B #67A22B
monochromatic
#111241 #1E1F72 #2B2CA2 #3E40CC #6F70D9
Accessibility & contrast
On white
10.58
#2B2CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#2B2CA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2CA2
10.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2CA2 | 1.00 | 10.58 | 1.98 | 10.58 |
| #FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A5
Deuteranopia (green-blind)
#0039A0
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2b2ca2; /* rgb */ color: rgb(43, 44, 162); /* oklch */ color: oklch(38.3% 0.183 273.2);
Tailwind
colors: {
custom: {
50: '#7766bf',
500: '#2b2ca2',
950: '#000000',
},
}SCSS
$custom: #2b2ca2; $custom-light: #7766bf; $custom-dark: #000000;
JSON
{
"hex": "#2b2ca2",
"rgb": {
"r": 43,
"g": 44,
"b": 162
},
"hsl": {
"h": 239.496,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.38319,
"c": 0.18337,
"h": 273.2
},
"luminance": 0.04924
}Semantic roles & 50–950 ramp
primary
#2B2CA2
secondary
#C0BF69
accent
#E047E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81