#2B2B95#2B2B95
#2B2B95 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.168 H 274.4°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2B95 |
|---|---|
| RGB | rgb(43, 43, 149) |
| HSL | hsl(240, 55%, 38%) |
| HSV | hsv(240, 71%, 58%) |
| CMYK | cmyk(71.1%, 71.1%, 0%, 41.6%) |
| CIE-LAB | lab(24.98, 35.71, -57.86) |
| CIE-LCH | lch(24.98, 68.00, 301.68°) |
| OKLab | oklab(36.83% 0.0129 -0.1672) |
| OKLCH | oklch(36.83% 0.168 274.4) |
| XYZ | xyz(7.2832, 4.4106, 28.8954) |
| Luminance | 0.0441 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.76
Royal
#0C1793
ΔE00 4.90
Indigo Blue
#3A18B1
ΔE00 5.94
Cobalt Blue
#030AA7
ΔE00 6.69
Darkslateblue
#483D8B
ΔE00 6.74
Blueberry
#464196
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2B95 #95952B
analogous
#2B6095 #2B2B95 #602B95
triadic
#2B2B95 #952B2B #2B952B
tetradic
#2B2B95 #952B60 #95952B #2B9560
square
#2B2B95 #952B60 #95952B #2B9560
split-complementary
#2B2B95 #95602B #60952B
monochromatic
#101036 #1D1D66 #2B2B95 #3939C4 #6767D3
Accessibility & contrast
On white
11.16
#2B2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2B2B95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2B95
11.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2B95 | 1.00 | 11.16 | 1.88 | 11.16 |
| #FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2b2b95; /* rgb */ color: rgb(43, 43, 149); /* oklch */ color: oklch(36.8% 0.168 274.4);
Tailwind
colors: {
custom: {
50: '#7465b5',
500: '#2b2b95',
950: '#000000',
},
}SCSS
$custom: #2b2b95; $custom-light: #7465b5; $custom-dark: #000000;
JSON
{
"hex": "#2b2b95",
"rgb": {
"r": 43,
"g": 43,
"b": 149
},
"hsl": {
"h": 240,
"s": 55.208,
"l": 37.647
},
"oklch": {
"l": 0.36829,
"c": 0.16774,
"h": 274.4
},
"luminance": 0.04411
}Semantic roles & 50–950 ramp
primary
#2B2B95
secondary
#BABA62
accent
#DF49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80