#2B2EA7#2B2EA7
#2B2EA7 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.188 H 272.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2EA7 |
|---|---|
| RGB | rgb(43, 46, 167) |
| HSL | hsl(239, 59%, 41%) |
| HSV | hsv(239, 74%, 65%) |
| CMYK | cmyk(74.3%, 72.5%, 0%, 34.5%) |
| CIE-LAB | lab(27.45, 40.14, -64.76) |
| CIE-LCH | lch(27.45, 76.19, 301.79°) |
| OKLab | oklab(39.14% 0.0084 -0.1874) |
| OKLCH | oklch(39.14% 0.188 272.6) |
| XYZ | xyz(8.9460, 5.2567, 37.0949) |
| Luminance | 0.0526 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.17
Indigo Blue
#3A18B1
ΔE00 4.99
Royal
#0C1793
ΔE00 6.12
True Blue
#010FCC
ΔE00 6.53
Blueberry
#464196
ΔE00 6.72
Ocean Blue
#4F42B5
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2EA7 #A7A42B
analogous
#2B6CA7 #2B2EA7 #662BA7
triadic
#2B2EA7 #A72B2E #2EA72B
tetradic
#2B2EA7 #A72B6C #A7A42B #2BA766
square
#2B2EA7 #A72B6C #A7A42B #2BA766
split-complementary
#2B2EA7 #A7662B #6CA72B
monochromatic
#121346 #1E2176 #2B2EA7 #4145CE #7274DB
Accessibility & contrast
On white
10.24
#2B2EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2B2EA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2EA7
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2EA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2EA7 | 1.00 | 10.24 | 2.05 | 10.24 |
| #FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003BA5
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2b2ea7; /* rgb */ color: rgb(43, 46, 167); /* oklch */ color: oklch(39.1% 0.188 272.6);
Tailwind
colors: {
custom: {
50: '#7868c2',
500: '#2b2ea7',
950: '#000000',
},
}SCSS
$custom: #2b2ea7; $custom-light: #7868c2; $custom-dark: #000000;
JSON
{
"hex": "#2b2ea7",
"rgb": {
"r": 43,
"g": 46,
"b": 167
},
"hsl": {
"h": 238.548,
"s": 59.048,
"l": 41.176
},
"oklch": {
"l": 0.39144,
"c": 0.18758,
"h": 272.6
},
"luminance": 0.05258
}Semantic roles & 50–950 ramp
primary
#2B2EA7
secondary
#C2C06C
accent
#DE46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82