#2B2C79#2B2C79
#2B2C79 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.128 H 276.7°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2C79 |
|---|---|
| RGB | rgb(43, 44, 121) |
| HSL | hsl(239, 48%, 32%) |
| HSV | hsv(239, 64%, 47%) |
| CMYK | cmyk(64.5%, 63.6%, 0%, 52.5%) |
| CIE-LAB | lab(22.64, 25.05, -44.19) |
| CIE-LCH | lch(22.64, 50.80, 299.55°) |
| OKLab | oklab(34.33% 0.015 -0.1272) |
| OKLCH | oklch(34.33% 0.128 276.7) |
| XYZ | xyz(5.3470, 3.6950, 18.5169) |
| Luminance | 0.0369 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.30
Darkslateblue
#483D8B
ΔE00 6.31
Royal
#0C1793
ΔE00 7.35
Blueberry
#464196
ΔE00 7.41
Marine
#042E60
ΔE00 7.80
Sapphire (survey)
#2138AB
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2C79 #79782B
analogous
#2B5379 #2B2C79 #512B79
triadic
#2B2C79 #792B2C #2C792B
tetradic
#2B2C79 #792B53 #79782B #2B7951
square
#2B2C79 #792B53 #79782B #2B7951
split-complementary
#2B2C79 #79512B #53792B
monochromatic
#0B0B1F #1B1C4C #2B2C79 #3B3CA6 #5A5BC4
Accessibility & contrast
On white
12.08
#2B2C79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#2B2C79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2C79
12.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2C79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2C79 | 1.00 | 12.08 | 1.74 | 12.08 |
| #FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003377
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2b2c79; /* rgb */ color: rgb(43, 44, 121); /* oklch */ color: oklch(34.3% 0.128 276.7);
Tailwind
colors: {
custom: {
50: '#6e65a0',
500: '#2b2c79',
950: '#000000',
},
}SCSS
$custom: #2b2c79; $custom-light: #6e65a0; $custom-dark: #000000;
JSON
{
"hex": "#2b2c79",
"rgb": {
"r": 43,
"g": 44,
"b": 121
},
"hsl": {
"h": 239.231,
"s": 47.561,
"l": 32.157
},
"oklch": {
"l": 0.34325,
"c": 0.12806,
"h": 276.7
},
"luminance": 0.03695
}Semantic roles & 50–950 ramp
primary
#2B2C79
secondary
#AAA956
accent
#D551D7
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050F
muted
#7B7A7E