#2C2B74#2C2B74
#2C2B74 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.122 H 278.2°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2B74 |
|---|---|
| RGB | rgb(44, 43, 116) |
| HSL | hsl(241, 46%, 31%) |
| HSV | hsv(241, 63%, 45%) |
| CMYK | cmyk(62.1%, 62.9%, 0%, 54.5%) |
| CIE-LAB | lab(22.03, 24.10, -41.98) |
| CIE-LCH | lch(22.03, 48.41, 299.85°) |
| OKLab | oklab(33.77% 0.0175 -0.1207) |
| OKLCH | oklch(33.77% 0.122 278.2) |
| XYZ | xyz(5.0540, 3.5238, 16.9335) |
| Luminance | 0.0352 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.18
Darkslateblue
#483D8B
ΔE00 6.63
Marine
#042E60
ΔE00 7.77
Royal
#0C1793
ΔE00 7.86
Blueberry
#464196
ΔE00 7.94
Sapphire (survey)
#2138AB
ΔE00 8.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2B74 #73742B
analogous
#2B4E74 #2C2B74 #502B74
triadic
#2C2B74 #742C2B #2B742C
tetradic
#2C2B74 #742B4E #73742B #2B7450
square
#2C2B74 #742B4E #73742B #2B7450
split-complementary
#2C2B74 #74502B #4E742B
monochromatic
#0A0A1B #1B1A47 #2C2B74 #3D3CA1 #5A58C1
Accessibility & contrast
On white
12.32
#2C2B74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#2C2B74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2B74
12.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2B74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2B74 | 1.00 | 12.32 | 1.70 | 12.32 |
| #FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2c2b74; /* rgb */ color: rgb(44, 43, 116); /* oklch */ color: oklch(33.8% 0.122 278.2);
Tailwind
colors: {
custom: {
50: '#6d649d',
500: '#2c2b74',
950: '#000000',
},
}SCSS
$custom: #2c2b74; $custom-light: #6d649d; $custom-dark: #000000;
JSON
{
"hex": "#2c2b74",
"rgb": {
"r": 44,
"g": 43,
"b": 116
},
"hsl": {
"h": 240.822,
"s": 45.912,
"l": 31.176
},
"oklch": {
"l": 0.33766,
"c": 0.12193,
"h": 278.2
},
"luminance": 0.03524
}Semantic roles & 50–950 ramp
primary
#2C2B74
secondary
#A5A655
accent
#D652D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E