#2B2FA4#2B2FA4
#2B2FA4 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.183 H 272.6°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2FA4 |
|---|---|
| RGB | rgb(43, 47, 164) |
| HSL | hsl(238, 58%, 41%) |
| HSV | hsv(238, 74%, 64%) |
| CMYK | cmyk(73.8%, 71.3%, 0%, 35.7%) |
| CIE-LAB | lab(27.37, 38.50, -63.09) |
| CIE-LCH | lch(27.37, 73.91, 301.39°) |
| OKLab | oklab(38.99% 0.0083 -0.1825) |
| OKLCH | oklch(38.99% 0.183 272.6) |
| XYZ | xyz(8.7114, 5.2261, 35.6644) |
| Luminance | 0.0523 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.97
Indigo Blue
#3A18B1
ΔE00 5.42
Royal
#0C1793
ΔE00 6.18
Blueberry
#464196
ΔE00 6.38
Ocean Blue
#4F42B5
ΔE00 6.77
Blue Blue
#2242C7
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2FA4 #A4A02B
analogous
#2B6BA4 #2B2FA4 #642BA4
triadic
#2B2FA4 #A42B2F #2FA42B
tetradic
#2B2FA4 #A42B6B #A4A02B #2BA464
square
#2B2FA4 #A42B6B #A4A02B #2BA464
split-complementary
#2B2FA4 #A4642B #6BA42B
monochromatic
#121343 #1E2174 #2B2FA4 #3F44CD #7073D9
Accessibility & contrast
On white
10.27
#2B2FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2B2FA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2FA4
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2FA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2FA4 | 1.00 | 10.27 | 2.05 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#003BA2
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2b2fa4; /* rgb */ color: rgb(43, 47, 164); /* oklch */ color: oklch(39.0% 0.183 272.6);
Tailwind
colors: {
custom: {
50: '#7768c0',
500: '#2b2fa4',
950: '#000000',
},
}SCSS
$custom: #2b2fa4; $custom-light: #7768c0; $custom-dark: #000000;
JSON
{
"hex": "#2b2fa4",
"rgb": {
"r": 43,
"g": 47,
"b": 164
},
"hsl": {
"h": 238.017,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.38993,
"c": 0.1827,
"h": 272.6
},
"luminance": 0.05227
}Semantic roles & 50–950 ramp
primary
#2B2FA4
secondary
#C1BE6A
accent
#DD46E2
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81