#2C2B71#2C2B71
#2C2B71 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.5% C 0.118 H 278.6°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2B71 |
|---|---|
| RGB | rgb(44, 43, 113) |
| HSL | hsl(241, 45%, 31%) |
| HSV | hsv(241, 62%, 44%) |
| CMYK | cmyk(61.1%, 61.9%, 0%, 55.7%) |
| CIE-LAB | lab(21.78, 23.01, -40.46) |
| CIE-LCH | lch(21.78, 46.55, 299.63°) |
| OKLab | oklab(33.5% 0.0176 -0.1162) |
| OKLCH | oklch(33.5% 0.118 278.6) |
| XYZ | xyz(4.8823, 3.4551, 16.0292) |
| Luminance | 0.0345 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.36
Darkslateblue
#483D8B
ΔE00 6.84
Marine
#042E60
ΔE00 7.59
Blueberry
#464196
ΔE00 8.23
Royal
#0C1793
ΔE00 8.33
Navy Blue
#1B2A4A
ΔE00 8.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2B71 #70712B
analogous
#2B4D71 #2C2B71 #4F2B71
triadic
#2C2B71 #712C2B #2B712C
tetradic
#2C2B71 #712B4D #70712B #2B714F
square
#2C2B71 #712B4D #70712B #2B714F
split-complementary
#2C2B71 #714F2B #4D712B
monochromatic
#090918 #1B1A45 #2C2B71 #3D3C9D #5957BF
Accessibility & contrast
On white
12.42
#2C2B71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2C2B71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2B71
12.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2B71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2B71 | 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)
#003773
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#013C49
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2c2b71; /* rgb */ color: rgb(44, 43, 113); /* oklch */ color: oklch(33.5% 0.118 278.6);
Tailwind
colors: {
custom: {
50: '#6d649a',
500: '#2c2b71',
950: '#000000',
},
}SCSS
$custom: #2c2b71; $custom-light: #6d649a; $custom-dark: #000000;
JSON
{
"hex": "#2c2b71",
"rgb": {
"r": 44,
"g": 43,
"b": 113
},
"hsl": {
"h": 240.857,
"s": 44.872,
"l": 30.588
},
"oklch": {
"l": 0.33504,
"c": 0.11752,
"h": 278.6
},
"luminance": 0.03455
}Semantic roles & 50–950 ramp
primary
#2C2B71
secondary
#A2A355
accent
#D553D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E