#2B2B76#2B2B76
#2B2B76 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.125 H 277.4°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2B76 |
|---|---|
| RGB | rgb(43, 43, 118) |
| HSL | hsl(240, 47%, 32%) |
| HSV | hsv(240, 64%, 46%) |
| CMYK | cmyk(63.6%, 63.6%, 0%, 53.7%) |
| CIE-LAB | lab(22.12, 24.63, -43.12) |
| CIE-LCH | lch(22.12, 49.66, 299.74°) |
| OKLab | oklab(33.87% 0.0161 -0.124) |
| OKLCH | oklch(33.87% 0.125 277.4) |
| XYZ | xyz(5.1291, 3.5490, 17.5508) |
| Luminance | 0.0355 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.08
Darkslateblue
#483D8B
ΔE00 6.60
Royal
#0C1793
ΔE00 7.54
Marine
#042E60
ΔE00 7.76
Blueberry
#464196
ΔE00 7.81
Sapphire (survey)
#2138AB
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2B76 #76762B
analogous
#2B5176 #2B2B76 #512B76
triadic
#2B2B76 #762B2B #2B762B
tetradic
#2B2B76 #762B51 #76762B #2B7651
square
#2B2B76 #762B51 #76762B #2B7651
split-complementary
#2B2B76 #76512B #51762B
monochromatic
#0A0A1C #1B1B49 #2B2B76 #3B3BA3 #5959C2
Accessibility & contrast
On white
12.28
#2B2B76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#2B2B76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2B76
12.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2B76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2B76 | 1.00 | 12.28 | 1.71 | 12.28 |
| #FFFFFF | 12.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2b2b76; /* rgb */ color: rgb(43, 43, 118); /* oklch */ color: oklch(33.9% 0.125 277.4);
Tailwind
colors: {
custom: {
50: '#6d649e',
500: '#2b2b76',
950: '#000000',
},
}SCSS
$custom: #2b2b76; $custom-light: #6d649e; $custom-dark: #000000;
JSON
{
"hex": "#2b2b76",
"rgb": {
"r": 43,
"g": 43,
"b": 118
},
"hsl": {
"h": 240,
"s": 46.584,
"l": 31.569
},
"oklch": {
"l": 0.33865,
"c": 0.12508,
"h": 277.4
},
"luminance": 0.03549
}Semantic roles & 50–950 ramp
primary
#2B2B76
secondary
#A8A855
accent
#D652D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E