#2B2EA3#2B2EA3
#2B2EA3 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.182 H 272.8°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2EA3 |
|---|---|
| RGB | rgb(43, 46, 163) |
| HSL | hsl(239, 58%, 40%) |
| HSV | hsv(239, 74%, 64%) |
| CMYK | cmyk(73.6%, 71.8%, 0%, 36.1%) |
| CIE-LAB | lab(27.05, 38.76, -63.01) |
| CIE-LCH | lch(27.05, 73.98, 301.59°) |
| OKLab | oklab(38.73% 0.009 -0.1823) |
| OKLCH | oklch(38.73% 0.183 272.8) |
| XYZ | xyz(8.5819, 5.1111, 35.1775) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.25
Indigo Blue
#3A18B1
ΔE00 5.25
Royal
#0C1793
ΔE00 5.91
Blueberry
#464196
ΔE00 6.53
Cobalt Blue
#030AA7
ΔE00 6.84
True Blue
#010FCC
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2EA3 #A3A02B
analogous
#2B6AA3 #2B2EA3 #642BA3
triadic
#2B2EA3 #A32B2E #2EA32B
tetradic
#2B2EA3 #A32B6A #A3A02B #2BA364
square
#2B2EA3 #A32B6A #A3A02B #2BA364
split-complementary
#2B2EA3 #A3642B #6AA32B
monochromatic
#111342 #1E2073 #2B2EA3 #3F42CC #6F72D9
Accessibility & contrast
On white
10.38
#2B2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2B2EA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2EA3
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2EA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2EA3 | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A7
Deuteranopia (green-blind)
#003AA1
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2b2ea3; /* rgb */ color: rgb(43, 46, 163); /* oklch */ color: oklch(38.7% 0.182 272.8);
Tailwind
colors: {
custom: {
50: '#7768bf',
500: '#2b2ea3',
950: '#000000',
},
}SCSS
$custom: #2b2ea3; $custom-light: #7768bf; $custom-dark: #000000;
JSON
{
"hex": "#2b2ea3",
"rgb": {
"r": 43,
"g": 46,
"b": 163
},
"hsl": {
"h": 238.5,
"s": 58.252,
"l": 40.392
},
"oklch": {
"l": 0.38733,
"c": 0.1825,
"h": 272.8
},
"luminance": 0.05112
}Semantic roles & 50–950 ramp
primary
#2B2EA3
secondary
#C0BE6A
accent
#DE46E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81