#2C2A76#2C2A76
#2C2A76 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.126 H 278.4°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2A76 |
|---|---|
| RGB | rgb(44, 42, 118) |
| HSL | hsl(242, 48%, 31%) |
| HSV | hsv(242, 64%, 46%) |
| CMYK | cmyk(62.7%, 64.4%, 0%, 53.7%) |
| CIE-LAB | lab(21.94, 25.49, -43.41) |
| CIE-LCH | lch(21.94, 50.34, 300.42°) |
| OKLab | oklab(33.75% 0.0184 -0.1249) |
| OKLCH | oklch(33.75% 0.126 278.4) |
| XYZ | xyz(5.1356, 3.4990, 17.5408) |
| Luminance | 0.0350 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.81
Darkslateblue
#483D8B
ΔE00 6.67
Royal
#0C1793
ΔE00 7.33
Blueberry
#464196
ΔE00 7.94
Marine
#042E60
ΔE00 8.13
Sapphire (survey)
#2138AB
ΔE00 8.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2A76 #74762A
analogous
#2A4E76 #2C2A76 #522A76
triadic
#2C2A76 #762C2A #2A762C
tetradic
#2C2A76 #762A4E #74762A #2A7652
square
#2C2A76 #762A4E #74762A #2A7652
split-complementary
#2C2A76 #76522A #4E762A
monochromatic
#0A0A1C #1B1A49 #2C2A76 #3D3AA3 #5A57C3
Accessibility & contrast
On white
12.35
#2C2A76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#2C2A76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2A76
12.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2A76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2A76 | 1.00 | 12.35 | 1.70 | 12.35 |
| #FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003174
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2c2a76; /* rgb */ color: rgb(44, 42, 118); /* oklch */ color: oklch(33.8% 0.126 278.4);
Tailwind
colors: {
custom: {
50: '#6e639e',
500: '#2c2a76',
950: '#000000',
},
}SCSS
$custom: #2c2a76; $custom-light: #6e639e; $custom-dark: #000000;
JSON
{
"hex": "#2c2a76",
"rgb": {
"r": 44,
"g": 42,
"b": 118
},
"hsl": {
"h": 241.579,
"s": 47.5,
"l": 31.373
},
"oklch": {
"l": 0.33754,
"c": 0.12622,
"h": 278.4
},
"luminance": 0.03499
}Semantic roles & 50–950 ramp
primary
#2C2A76
secondary
#A6A854
accent
#D751D4
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#08050E
muted
#7B797E