#2C2A74#2C2A74
#2C2A74 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.123 H 278.6°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2A74 |
|---|---|
| RGB | rgb(44, 42, 116) |
| HSL | hsl(242, 47%, 31%) |
| HSV | hsv(242, 64%, 45%) |
| CMYK | cmyk(62.1%, 63.8%, 0%, 54.5%) |
| CIE-LAB | lab(21.77, 24.77, -42.41) |
| CIE-LCH | lch(21.77, 49.11, 300.29°) |
| OKLab | oklab(33.58% 0.0185 -0.1219) |
| OKLCH | oklch(33.58% 0.123 278.6) |
| XYZ | xyz(5.0181, 3.4520, 16.9215) |
| Luminance | 0.0345 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.89
Darkslateblue
#483D8B
ΔE00 6.77
Royal
#0C1793
ΔE00 7.63
Marine
#042E60
ΔE00 7.99
Blueberry
#464196
ΔE00 8.10
Dark Royal Blue
#02066F
ΔE00 8.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2A74 #72742A
analogous
#2A4D74 #2C2A74 #512A74
triadic
#2C2A74 #742C2A #2A742C
tetradic
#2C2A74 #742A4D #72742A #2A7451
square
#2C2A74 #742A4D #72742A #2A7451
split-complementary
#2C2A74 #74512A #4D742A
monochromatic
#0A091A #1B1A47 #2C2A74 #3D3AA1 #5956C2
Accessibility & contrast
On white
12.42
#2C2A74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2C2A74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2A74
12.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2A74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2A74 | 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)
#003776
Deuteranopia (green-blind)
#003173
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2c2a74; /* rgb */ color: rgb(44, 42, 116); /* oklch */ color: oklch(33.6% 0.123 278.6);
Tailwind
colors: {
custom: {
50: '#6d639d',
500: '#2c2a74',
950: '#000000',
},
}SCSS
$custom: #2c2a74; $custom-light: #6d639d; $custom-dark: #000000;
JSON
{
"hex": "#2c2a74",
"rgb": {
"r": 44,
"g": 42,
"b": 116
},
"hsl": {
"h": 241.622,
"s": 46.835,
"l": 30.98
},
"oklch": {
"l": 0.33575,
"c": 0.12332,
"h": 278.6
},
"luminance": 0.03452
}Semantic roles & 50–950 ramp
primary
#2C2A74
secondary
#A4A654
accent
#D651D3
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#08050E
muted
#7B797E