#2B2FA9#2B2FA9
#2B2FA9 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.189 H 272.3°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2FA9 |
|---|---|
| RGB | rgb(43, 47, 169) |
| HSL | hsl(238, 59%, 42%) |
| HSV | hsv(238, 75%, 66%) |
| CMYK | cmyk(74.6%, 72.2%, 0%, 33.7%) |
| CIE-LAB | lab(27.87, 40.23, -65.28) |
| CIE-LCH | lch(27.87, 76.68, 301.65°) |
| OKLab | oklab(39.51% 0.0076 -0.1889) |
| OKLCH | oklch(39.51% 0.189 272.3) |
| XYZ | xyz(9.1718, 5.4102, 38.0893) |
| Luminance | 0.0541 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.91
Indigo Blue
#3A18B1
ΔE00 5.13
Royal
#0C1793
ΔE00 6.45
Blue Blue
#2242C7
ΔE00 6.50
Ocean Blue
#4F42B5
ΔE00 6.50
True Blue
#010FCC
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2FA9 #A9A52B
analogous
#2B6EA9 #2B2FA9 #662BA9
triadic
#2B2FA9 #A92B2F #2FA92B
tetradic
#2B2FA9 #A92B6E #A9A52B #2BA966
square
#2B2FA9 #A92B6E #A9A52B #2BA966
split-complementary
#2B2FA9 #A9662B #6EA92B
monochromatic
#121447 #1F2178 #2B2FA9 #4247CF #7376DB
Accessibility & contrast
On white
10.09
#2B2FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#2B2FA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2FA9
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2FA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2FA9 | 1.00 | 10.09 | 2.08 | 10.09 |
| #FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003CA7
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2b2fa9; /* rgb */ color: rgb(43, 47, 169); /* oklch */ color: oklch(39.5% 0.189 272.3);
Tailwind
colors: {
custom: {
50: '#7968c4',
500: '#2b2fa9',
950: '#000000',
},
}SCSS
$custom: #2b2fa9; $custom-light: #7968c4; $custom-dark: #000000;
JSON
{
"hex": "#2b2fa9",
"rgb": {
"r": 43,
"g": 47,
"b": 169
},
"hsl": {
"h": 238.095,
"s": 59.434,
"l": 41.569
},
"oklch": {
"l": 0.39506,
"c": 0.18904,
"h": 272.3
},
"luminance": 0.05411
}Semantic roles & 50–950 ramp
primary
#2B2FA9
secondary
#C3C06D
accent
#DE45E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82