#2C2F77#2C2F77
#2C2F77 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.121 H 276.3°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2F77 |
|---|---|
| RGB | rgb(44, 47, 119) |
| HSL | hsl(238, 46%, 32%) |
| HSV | hsv(238, 63%, 47%) |
| CMYK | cmyk(63%, 60.5%, 0%, 53.3%) |
| CIE-LAB | lab(23.34, 22.46, -41.78) |
| CIE-LCH | lch(23.34, 47.43, 298.27°) |
| OKLab | oklab(34.81% 0.0133 -0.12) |
| OKLCH | oklch(34.81% 0.121 276.3) |
| XYZ | xyz(5.3839, 3.9000, 17.9182) |
| Luminance | 0.0390 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.97
Midnight Blue
#191970
ΔE00 6.27
Blueberry
#464196
ΔE00 7.08
Marine
#042E60
ΔE00 7.20
Sapphire (survey)
#2138AB
ΔE00 8.16
Royal
#0C1793
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2F77 #77742C
analogous
#2C5577 #2C2F77 #4F2C77
triadic
#2C2F77 #772C2F #2F772C
tetradic
#2C2F77 #772C55 #77742C #2C774F
square
#2C2F77 #772C55 #77742C #2C774F
split-complementary
#2C2F77 #774F2C #55772C
monochromatic
#0B0C1E #1B1D4A #2C2F77 #3D41A4 #5B5FC2
Accessibility & contrast
On white
11.80
#2C2F77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2C2F77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2F77
11.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2F77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2F77 | 1.00 | 11.80 | 1.78 | 11.80 |
| #FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B79
Deuteranopia (green-blind)
#003476
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2c2f77; /* rgb */ color: rgb(44, 47, 119); /* oklch */ color: oklch(34.8% 0.121 276.3);
Tailwind
colors: {
custom: {
50: '#6e679f',
500: '#2c2f77',
950: '#000000',
},
}SCSS
$custom: #2c2f77; $custom-light: #6e679f; $custom-dark: #000000;
JSON
{
"hex": "#2c2f77",
"rgb": {
"r": 44,
"g": 47,
"b": 119
},
"hsl": {
"h": 237.6,
"s": 46.012,
"l": 31.961
},
"oklch": {
"l": 0.3481,
"c": 0.12076,
"h": 276.3
},
"luminance": 0.039
}Semantic roles & 50–950 ramp
primary
#2C2F77
secondary
#A8A556
accent
#D052D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E