#2C2976#2C2976
#2C2976 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.128 H 278.7°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2976 |
|---|---|
| RGB | rgb(44, 41, 118) |
| HSL | hsl(242, 48%, 31%) |
| HSV | hsv(242, 65%, 46%) |
| CMYK | cmyk(62.7%, 65.3%, 0%, 53.7%) |
| CIE-LAB | lab(21.69, 26.16, -43.82) |
| CIE-LCH | lch(21.69, 51.04, 300.83°) |
| OKLab | oklab(33.57% 0.0194 -0.1261) |
| OKLCH | oklch(33.57% 0.128 278.7) |
| XYZ | xyz(5.1006, 3.4290, 17.5291) |
| Luminance | 0.0343 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.54
Darkslateblue
#483D8B
ΔE00 6.83
Royal
#0C1793
ΔE00 7.10
Blueberry
#464196
ΔE00 8.11
Marine
#042E60
ΔE00 8.35
Dark Royal Blue
#02066F
ΔE00 8.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2976 #737629
analogous
#294C76 #2C2976 #522976
triadic
#2C2976 #762C29 #29762C
tetradic
#2C2976 #76294C #737629 #297652
square
#2C2976 #76294C #737629 #297652
split-complementary
#2C2976 #765229 #4C7629
monochromatic
#0A091B #1B1949 #2C2976 #3D39A3 #5A55C4
Accessibility & contrast
On white
12.46
#2C2976 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2C2976 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2976
12.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2976 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2976 | 1.00 | 12.46 | 1.69 | 12.46 |
| #FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#003174
Tritanopia (blue-blind)
#003C4B
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2c2976; /* rgb */ color: rgb(44, 41, 118); /* oklch */ color: oklch(33.6% 0.128 278.7);
Tailwind
colors: {
custom: {
50: '#6e639e',
500: '#2c2976',
950: '#000000',
},
}SCSS
$custom: #2c2976; $custom-light: #6e639e; $custom-dark: #000000;
JSON
{
"hex": "#2c2976",
"rgb": {
"r": 44,
"g": 41,
"b": 118
},
"hsl": {
"h": 242.338,
"s": 48.428,
"l": 31.176
},
"oklch": {
"l": 0.33567,
"c": 0.12757,
"h": 278.7
},
"luminance": 0.03429
}Semantic roles & 50–950 ramp
primary
#2C2976
secondary
#A5A853
accent
#D850D3
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E