#2C2D79#2C2D79
#2C2D79 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.126 H 276.9°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2D79 |
|---|---|
| RGB | rgb(44, 45, 121) |
| HSL | hsl(239, 47%, 32%) |
| HSV | hsv(239, 64%, 47%) |
| CMYK | cmyk(63.6%, 62.8%, 0%, 52.5%) |
| CIE-LAB | lab(22.97, 24.55, -43.64) |
| CIE-LCH | lch(22.97, 50.07, 299.36°) |
| OKLab | oklab(34.59% 0.0153 -0.1255) |
| OKLCH | oklch(34.59% 0.126 276.9) |
| XYZ | xyz(5.4272, 3.7923, 18.5314) |
| Luminance | 0.0379 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.61
Darkslateblue
#483D8B
ΔE00 6.08
Blueberry
#464196
ΔE00 7.19
Royal
#0C1793
ΔE00 7.62
Marine
#042E60
ΔE00 7.74
Sapphire (survey)
#2138AB
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2D79 #79782C
analogous
#2C5379 #2C2D79 #522C79
triadic
#2C2D79 #792C2D #2D792C
tetradic
#2C2D79 #792C53 #79782C #2C7952
square
#2C2D79 #792C53 #79782C #2C7952
split-complementary
#2C2D79 #79522C #53792C
monochromatic
#0B0C1F #1C1C4C #2C2D79 #3C3EA6 #5C5DC4
Accessibility & contrast
On white
11.94
#2C2D79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#2C2D79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2D79
11.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2D79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2D79 | 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)
#003A7B
Deuteranopia (green-blind)
#003477
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2c2d79; /* rgb */ color: rgb(44, 45, 121); /* oklch */ color: oklch(34.6% 0.126 276.9);
Tailwind
colors: {
custom: {
50: '#6e66a0',
500: '#2c2d79',
950: '#000000',
},
}SCSS
$custom: #2c2d79; $custom-light: #6e66a0; $custom-dark: #000000;
JSON
{
"hex": "#2c2d79",
"rgb": {
"r": 44,
"g": 45,
"b": 121
},
"hsl": {
"h": 239.221,
"s": 46.667,
"l": 32.353
},
"oklch": {
"l": 0.34592,
"c": 0.12646,
"h": 276.9
},
"luminance": 0.03793
}Semantic roles & 50–950 ramp
primary
#2C2D79
secondary
#AAA957
accent
#D551D6
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060F
muted
#7B7A7E