#2B2B79#2B2B79
#2B2B79 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.129 H 277.1°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2B79 |
|---|---|
| RGB | rgb(43, 43, 121) |
| HSL | hsl(240, 48%, 32%) |
| HSV | hsv(240, 64%, 47%) |
| CMYK | cmyk(64.5%, 64.5%, 0%, 52.5%) |
| CIE-LAB | lab(22.38, 25.72, -44.61) |
| CIE-LCH | lch(22.38, 51.50, 299.97°) |
| OKLab | oklab(34.14% 0.0159 -0.1284) |
| OKLCH | oklch(34.14% 0.129 277.1) |
| XYZ | xyz(5.3102, 3.6214, 18.5046) |
| Luminance | 0.0362 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.02
Darkslateblue
#483D8B
ΔE00 6.46
Royal
#0C1793
ΔE00 7.11
Blueberry
#464196
ΔE00 7.58
Marine
#042E60
ΔE00 8.00
Sapphire (survey)
#2138AB
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2B79 #79792B
analogous
#2B5279 #2B2B79 #522B79
triadic
#2B2B79 #792B2B #2B792B
tetradic
#2B2B79 #792B52 #79792B #2B7952
square
#2B2B79 #792B52 #79792B #2B7952
split-complementary
#2B2B79 #79522B #52792B
monochromatic
#0B0B1F #1B1B4C #2B2B79 #3B3BA6 #5A5AC4
Accessibility & contrast
On white
12.18
#2B2B79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#2B2B79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2B79
12.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2B79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2B79 | 1.00 | 12.18 | 1.72 | 12.18 |
| #FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2b2b79; /* rgb */ color: rgb(43, 43, 121); /* oklch */ color: oklch(34.1% 0.129 277.1);
Tailwind
colors: {
custom: {
50: '#6e64a0',
500: '#2b2b79',
950: '#000000',
},
}SCSS
$custom: #2b2b79; $custom-light: #6e64a0; $custom-dark: #000000;
JSON
{
"hex": "#2b2b79",
"rgb": {
"r": 43,
"g": 43,
"b": 121
},
"hsl": {
"h": 240,
"s": 47.561,
"l": 32.157
},
"oklch": {
"l": 0.34135,
"c": 0.12941,
"h": 277.1
},
"luminance": 0.03622
}Semantic roles & 50–950 ramp
primary
#2B2B79
secondary
#AAAA56
accent
#D751D7
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050F
muted
#7B7A7E