#2B2FA3#2B2FA3
#2B2FA3 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.181 H 272.7°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2FA3 |
|---|---|
| RGB | rgb(43, 47, 163) |
| HSL | hsl(238, 58%, 40%) |
| HSV | hsv(238, 74%, 64%) |
| CMYK | cmyk(73.6%, 71.2%, 0%, 36.1%) |
| CIE-LAB | lab(27.27, 38.15, -62.65) |
| CIE-LCH | lch(27.27, 73.35, 301.34°) |
| OKLab | oklab(38.89% 0.0085 -0.1812) |
| OKLCH | oklch(38.89% 0.181 272.7) |
| XYZ | xyz(8.6214, 5.1901, 35.1907) |
| Luminance | 0.0519 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.00
Indigo Blue
#3A18B1
ΔE00 5.49
Royal
#0C1793
ΔE00 6.13
Blueberry
#464196
ΔE00 6.34
Ocean Blue
#4F42B5
ΔE00 6.83
Darkslateblue
#483D8B
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2FA3 #A39F2B
analogous
#2B6BA3 #2B2FA3 #632BA3
triadic
#2B2FA3 #A32B2F #2FA32B
tetradic
#2B2FA3 #A32B6B #A39F2B #2BA363
square
#2B2FA3 #A32B6B #A39F2B #2BA363
split-complementary
#2B2FA3 #A3632B #6BA32B
monochromatic
#111342 #1E2173 #2B2FA3 #3F44CC #6F73D9
Accessibility & contrast
On white
10.30
#2B2FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2B2FA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2FA3
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2FA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2FA3 | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A6
Deuteranopia (green-blind)
#003BA1
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2b2fa3; /* rgb */ color: rgb(43, 47, 163); /* oklch */ color: oklch(38.9% 0.181 272.7);
Tailwind
colors: {
custom: {
50: '#7768bf',
500: '#2b2fa3',
950: '#000000',
},
}SCSS
$custom: #2b2fa3; $custom-light: #7768bf; $custom-dark: #000000;
JSON
{
"hex": "#2b2fa3",
"rgb": {
"r": 43,
"g": 47,
"b": 163
},
"hsl": {
"h": 238,
"s": 58.252,
"l": 40.392
},
"oklch": {
"l": 0.38891,
"c": 0.18142,
"h": 272.7
},
"luminance": 0.05191
}Semantic roles & 50–950 ramp
primary
#2B2FA3
secondary
#C0BD6A
accent
#DC46E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81