#2B2CA1#2B2CA1
#2B2CA1 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.182 H 273.3°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2CA1 |
|---|---|
| RGB | rgb(43, 44, 161) |
| HSL | hsl(239, 58%, 40%) |
| HSV | hsv(239, 73%, 63%) |
| CMYK | cmyk(73.3%, 72.7%, 0%, 36.9%) |
| CIE-LAB | lab(26.41, 39.27, -62.85) |
| CIE-LCH | lch(26.41, 74.11, 302.00°) |
| OKLab | oklab(38.21% 0.0104 -0.1818) |
| OKLCH | oklch(38.21% 0.182 273.3) |
| XYZ | xyz(8.3278, 4.8873, 34.2158) |
| Luminance | 0.0489 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.80
Indigo Blue
#3A18B1
ΔE00 4.95
Royal
#0C1793
ΔE00 5.38
Cobalt Blue
#030AA7
ΔE00 6.38
True Blue
#010FCC
ΔE00 6.80
Blueberry
#464196
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2CA1 #A1A02B
analogous
#2B67A1 #2B2CA1 #652BA1
triadic
#2B2CA1 #A12B2C #2CA12B
tetradic
#2B2CA1 #A12B67 #A1A02B #2BA165
square
#2B2CA1 #A12B67 #A1A02B #2BA165
split-complementary
#2B2CA1 #A1652B #67A12B
monochromatic
#111240 #1E1F71 #2B2CA1 #3E3FCB #6E6FD8
Accessibility & contrast
On white
10.62
#2B2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#2B2CA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2CA1
10.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2CA1 | 1.00 | 10.62 | 1.98 | 10.62 |
| #FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00399F
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2b2ca1; /* rgb */ color: rgb(43, 44, 161); /* oklch */ color: oklch(38.2% 0.182 273.3);
Tailwind
colors: {
custom: {
50: '#7766be',
500: '#2b2ca1',
950: '#000000',
},
}SCSS
$custom: #2b2ca1; $custom-light: #7766be; $custom-dark: #000000;
JSON
{
"hex": "#2b2ca1",
"rgb": {
"r": 43,
"g": 44,
"b": 161
},
"hsl": {
"h": 239.492,
"s": 57.843,
"l": 40
},
"oklch": {
"l": 0.38215,
"c": 0.1821,
"h": 273.3
},
"luminance": 0.04888
}Semantic roles & 50–950 ramp
primary
#2B2CA1
secondary
#BFBF69
accent
#E047E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81