#2C2E76#2C2E76
#2C2E76 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.121 H 276.8°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2E76 |
|---|---|
| RGB | rgb(44, 46, 118) |
| HSL | hsl(238, 46%, 32%) |
| HSV | hsv(238, 63%, 46%) |
| CMYK | cmyk(62.7%, 61%, 0%, 53.7%) |
| CIE-LAB | lab(22.99, 22.78, -41.70) |
| CIE-LCH | lch(22.99, 47.52, 298.65°) |
| OKLab | oklab(34.53% 0.0143 -0.1198) |
| OKLCH | oklch(34.53% 0.121 276.8) |
| XYZ | xyz(5.2847, 3.7971, 17.5905) |
| Luminance | 0.0380 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 6.00
Darkslateblue
#483D8B
ΔE00 6.13
Marine
#042E60
ΔE00 7.31
Blueberry
#464196
ΔE00 7.31
Royal
#0C1793
ΔE00 8.30
Sapphire (survey)
#2138AB
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2E76 #76742C
analogous
#2C5376 #2C2E76 #4F2C76
triadic
#2C2E76 #762C2E #2E762C
tetradic
#2C2E76 #762C53 #76742C #2C764F
square
#2C2E76 #762C53 #76742C #2C764F
split-complementary
#2C2E76 #764F2C #53762C
monochromatic
#0B0B1D #1B1D49 #2C2E76 #3D3FA3 #5B5DC2
Accessibility & contrast
On white
11.94
#2C2E76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#2C2E76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2E76
11.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2E76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2E76 | 1.00 | 11.94 | 1.76 | 11.94 |
| #FFFFFF | 11.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#003475
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2c2e76; /* rgb */ color: rgb(44, 46, 118); /* oklch */ color: oklch(34.5% 0.121 276.8);
Tailwind
colors: {
custom: {
50: '#6e669e',
500: '#2c2e76',
950: '#000000',
},
}SCSS
$custom: #2c2e76; $custom-light: #6e669e; $custom-dark: #000000;
JSON
{
"hex": "#2c2e76",
"rgb": {
"r": 44,
"g": 46,
"b": 118
},
"hsl": {
"h": 238.378,
"s": 45.679,
"l": 31.765
},
"oklch": {
"l": 0.34526,
"c": 0.12068,
"h": 276.8
},
"luminance": 0.03797
}Semantic roles & 50–950 ramp
primary
#2C2E76
secondary
#A7A556
accent
#D252D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E