#2B2FA7#2B2FA7
#2B2FA7 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.187 H 272.4°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2FA7 |
|---|---|
| RGB | rgb(43, 47, 167) |
| HSL | hsl(238, 59%, 41%) |
| HSV | hsv(238, 74%, 65%) |
| CMYK | cmyk(74.3%, 71.9%, 0%, 34.5%) |
| CIE-LAB | lab(27.67, 39.54, -64.41) |
| CIE-LCH | lch(27.67, 75.58, 301.55°) |
| OKLab | oklab(39.3% 0.0079 -0.1863) |
| OKLCH | oklch(39.3% 0.187 272.4) |
| XYZ | xyz(8.9855, 5.3357, 37.1081) |
| Luminance | 0.0534 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.92
Indigo Blue
#3A18B1
ΔE00 5.24
Royal
#0C1793
ΔE00 6.33
Blueberry
#464196
ΔE00 6.53
Ocean Blue
#4F42B5
ΔE00 6.61
Blue Blue
#2242C7
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2FA7 #A7A32B
analogous
#2B6DA7 #2B2FA7 #652BA7
triadic
#2B2FA7 #A72B2F #2FA72B
tetradic
#2B2FA7 #A72B6D #A7A32B #2BA765
square
#2B2FA7 #A72B6D #A7A32B #2BA765
split-complementary
#2B2FA7 #A7652B #6DA72B
monochromatic
#121446 #1E2176 #2B2FA7 #4146CE #7275DB
Accessibility & contrast
On white
10.16
#2B2FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2B2FA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2FA7
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2FA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2FA7 | 1.00 | 10.16 | 2.07 | 10.16 |
| #FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003BA5
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2b2fa7; /* rgb */ color: rgb(43, 47, 167); /* oklch */ color: oklch(39.3% 0.187 272.4);
Tailwind
colors: {
custom: {
50: '#7868c2',
500: '#2b2fa7',
950: '#000000',
},
}SCSS
$custom: #2b2fa7; $custom-light: #7868c2; $custom-dark: #000000;
JSON
{
"hex": "#2b2fa7",
"rgb": {
"r": 43,
"g": 47,
"b": 167
},
"hsl": {
"h": 238.065,
"s": 59.048,
"l": 41.176
},
"oklch": {
"l": 0.393,
"c": 0.18652,
"h": 272.4
},
"luminance": 0.05337
}Semantic roles & 50–950 ramp
primary
#2B2FA7
secondary
#C2BF6C
accent
#DD46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82