#2B2B72#2B2B72
#2B2B72 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.5% C 0.119 H 277.8°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2B72 |
|---|---|
| RGB | rgb(43, 43, 114) |
| HSL | hsl(240, 45%, 31%) |
| HSV | hsv(240, 62%, 45%) |
| CMYK | cmyk(62.3%, 62.3%, 0%, 55.3%) |
| CIE-LAB | lab(21.78, 23.18, -41.11) |
| CIE-LCH | lch(21.78, 47.19, 299.42°) |
| OKLab | oklab(33.51% 0.0162 -0.1181) |
| OKLCH | oklch(33.51% 0.119 277.8) |
| XYZ | xyz(4.8964, 3.4559, 16.3254) |
| Luminance | 0.0346 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.27
Darkslateblue
#483D8B
ΔE00 6.85
Marine
#042E60
ΔE00 7.47
Royal
#0C1793
ΔE00 8.15
Blueberry
#464196
ΔE00 8.17
Navy Blue
#1B2A4A
ΔE00 8.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2B72 #72722B
analogous
#2B4E72 #2B2B72 #4E2B72
triadic
#2B2B72 #722B2B #2B722B
tetradic
#2B2B72 #722B4E #72722B #2B724E
square
#2B2B72 #722B4E #72722B #2B724E
split-complementary
#2B2B72 #724E2B #4E722B
monochromatic
#090919 #1A1A46 #2B2B72 #3C3C9E #5858C0
Accessibility & contrast
On white
12.42
#2B2B72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2B2B72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2B72
12.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2B72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2B72 | 1.00 | 12.42 | 1.69 | 12.42 |
| #FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#003171
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2b2b72; /* rgb */ color: rgb(43, 43, 114); /* oklch */ color: oklch(33.5% 0.119 277.8);
Tailwind
colors: {
custom: {
50: '#6c649b',
500: '#2b2b72',
950: '#000000',
},
}SCSS
$custom: #2b2b72; $custom-light: #6c649b; $custom-dark: #000000;
JSON
{
"hex": "#2b2b72",
"rgb": {
"r": 43,
"g": 43,
"b": 114
},
"hsl": {
"h": 240,
"s": 45.223,
"l": 30.784
},
"oklch": {
"l": 0.33512,
"c": 0.11923,
"h": 277.8
},
"luminance": 0.03456
}Semantic roles & 50–950 ramp
primary
#2B2B72
secondary
#A4A455
accent
#D553D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E