#2B2B71#2B2B71
#2B2B71 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.4% C 0.118 H 277.9°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2B71 |
|---|---|
| RGB | rgb(43, 43, 113) |
| HSL | hsl(240, 45%, 31%) |
| HSV | hsv(240, 62%, 44%) |
| CMYK | cmyk(61.9%, 61.9%, 0%, 55.7%) |
| CIE-LAB | lab(21.70, 22.82, -40.60) |
| CIE-LCH | lch(21.70, 46.57, 299.34°) |
| OKLab | oklab(33.42% 0.0162 -0.1166) |
| OKLCH | oklch(33.42% 0.118 277.9) |
| XYZ | xyz(4.8398, 3.4332, 16.0272) |
| Luminance | 0.0343 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.33
Darkslateblue
#483D8B
ΔE00 6.92
Marine
#042E60
ΔE00 7.41
Blueberry
#464196
ΔE00 8.27
Royal
#0C1793
ΔE00 8.31
Navy Blue
#1B2A4A
ΔE00 8.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2B71 #71712B
analogous
#2B4E71 #2B2B71 #4E2B71
triadic
#2B2B71 #712B2B #2B712B
tetradic
#2B2B71 #712B4E #71712B #2B714E
square
#2B2B71 #712B4E #71712B #2B714E
split-complementary
#2B2B71 #714E2B #4E712B
monochromatic
#090918 #1A1A45 #2B2B71 #3C3C9D #5757BF
Accessibility & contrast
On white
12.45
#2B2B71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2B2B71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2B71
12.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2B71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2B71 | 1.00 | 12.45 | 1.69 | 12.45 |
| #FFFFFF | 12.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2b2b71; /* rgb */ color: rgb(43, 43, 113); /* oklch */ color: oklch(33.4% 0.118 277.9);
Tailwind
colors: {
custom: {
50: '#6c649a',
500: '#2b2b71',
950: '#000000',
},
}SCSS
$custom: #2b2b71; $custom-light: #6c649a; $custom-dark: #000000;
JSON
{
"hex": "#2b2b71",
"rgb": {
"r": 43,
"g": 43,
"b": 113
},
"hsl": {
"h": 240,
"s": 44.872,
"l": 30.588
},
"oklch": {
"l": 0.33425,
"c": 0.11775,
"h": 277.9
},
"luminance": 0.03434
}Semantic roles & 50–950 ramp
primary
#2B2B71
secondary
#A3A355
accent
#D553D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E