#2B2FA0#2B2FA0
#2B2FA0 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.178 H 272.9°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2FA0 |
|---|---|
| RGB | rgb(43, 47, 160) |
| HSL | hsl(238, 58%, 40%) |
| HSV | hsv(238, 73%, 63%) |
| CMYK | cmyk(73.1%, 70.6%, 0%, 37.3%) |
| CIE-LAB | lab(26.97, 37.10, -61.32) |
| CIE-LCH | lch(26.97, 71.67, 301.17°) |
| OKLab | oklab(38.59% 0.0089 -0.1773) |
| OKLCH | oklch(38.59% 0.178 272.9) |
| XYZ | xyz(8.3558, 5.0838, 33.7918) |
| Luminance | 0.0508 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.13
Indigo Blue
#3A18B1
ΔE00 5.72
Royal
#0C1793
ΔE00 6.02
Blueberry
#464196
ΔE00 6.21
Darkslateblue
#483D8B
ΔE00 6.78
Ocean Blue
#4F42B5
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2FA0 #A09C2B
analogous
#2B69A0 #2B2FA0 #622BA0
triadic
#2B2FA0 #A02B2F #2FA02B
tetradic
#2B2FA0 #A02B69 #A09C2B #2BA062
square
#2B2FA0 #A02B69 #A09C2B #2BA062
split-complementary
#2B2FA0 #A0622B #69A02B
monochromatic
#111340 #1E2170 #2B2FA0 #3D42CB #6E71D8
Accessibility & contrast
On white
10.41
#2B2FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2B2FA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2FA0
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2FA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2FA0 | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#003A9E
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2b2fa0; /* rgb */ color: rgb(43, 47, 160); /* oklch */ color: oklch(38.6% 0.178 272.9);
Tailwind
colors: {
custom: {
50: '#7768bd',
500: '#2b2fa0',
950: '#000000',
},
}SCSS
$custom: #2b2fa0; $custom-light: #7768bd; $custom-dark: #000000;
JSON
{
"hex": "#2b2fa0",
"rgb": {
"r": 43,
"g": 47,
"b": 160
},
"hsl": {
"h": 237.949,
"s": 57.635,
"l": 39.804
},
"oklch": {
"l": 0.38587,
"c": 0.17756,
"h": 272.9
},
"luminance": 0.05085
}Semantic roles & 50–950 ramp
primary
#2B2FA0
secondary
#BFBC68
accent
#DC47E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81