#2B2EA6#2B2EA6
#2B2EA6 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.186 H 272.6°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2EA6 |
|---|---|
| RGB | rgb(43, 46, 166) |
| HSL | hsl(239, 59%, 41%) |
| HSV | hsv(239, 74%, 65%) |
| CMYK | cmyk(74.1%, 72.3%, 0%, 34.9%) |
| CIE-LAB | lab(27.35, 39.79, -64.33) |
| CIE-LCH | lch(27.35, 75.64, 301.74°) |
| OKLab | oklab(39.04% 0.0086 -0.1861) |
| OKLCH | oklch(39.04% 0.186 272.6) |
| XYZ | xyz(8.8539, 5.2198, 36.6099) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.18
Indigo Blue
#3A18B1
ΔE00 5.05
Royal
#0C1793
ΔE00 6.06
True Blue
#010FCC
ΔE00 6.63
Blueberry
#464196
ΔE00 6.67
Cobalt Blue
#030AA7
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2EA6 #A6A32B
analogous
#2B6BA6 #2B2EA6 #652BA6
triadic
#2B2EA6 #A62B2E #2EA62B
tetradic
#2B2EA6 #A62B6B #A6A32B #2BA665
square
#2B2EA6 #A62B6B #A6A32B #2BA665
split-complementary
#2B2EA6 #A6652B #6BA62B
monochromatic
#121345 #1E2175 #2B2EA6 #4144CE #7174DA
Accessibility & contrast
On white
10.27
#2B2EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2B2EA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2EA6
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2EA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2EA6 | 1.00 | 10.27 | 2.04 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003BA4
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2b2ea6; /* rgb */ color: rgb(43, 46, 166); /* oklch */ color: oklch(39.0% 0.186 272.6);
Tailwind
colors: {
custom: {
50: '#7868c2',
500: '#2b2ea6',
950: '#000000',
},
}SCSS
$custom: #2b2ea6; $custom-light: #7868c2; $custom-dark: #000000;
JSON
{
"hex": "#2b2ea6",
"rgb": {
"r": 43,
"g": 46,
"b": 166
},
"hsl": {
"h": 238.537,
"s": 58.852,
"l": 40.98
},
"oklch": {
"l": 0.39041,
"c": 0.18631,
"h": 272.6
},
"luminance": 0.05221
}Semantic roles & 50–950 ramp
primary
#2B2EA6
secondary
#C1BF6B
accent
#DE46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81