#2C2F79#2C2F79
#2C2F79 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.124 H 276.2°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2F79 |
|---|---|
| RGB | rgb(44, 47, 121) |
| HSL | hsl(238, 47%, 32%) |
| HSV | hsv(238, 64%, 47%) |
| CMYK | cmyk(63.6%, 61.2%, 0%, 52.5%) |
| CIE-LAB | lab(23.50, 23.20, -42.78) |
| CIE-LCH | lch(23.50, 48.67, 298.47°) |
| OKLab | oklab(34.98% 0.0133 -0.123) |
| OKLCH | oklch(34.98% 0.124 276.2) |
| XYZ | xyz(5.5053, 3.9485, 18.5575) |
| Luminance | 0.0395 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.85
Midnight Blue
#191970
ΔE00 6.21
Blueberry
#464196
ΔE00 6.89
Marine
#042E60
ΔE00 7.37
Sapphire (survey)
#2138AB
ΔE00 7.83
Royal
#0C1793
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2F79 #79762C
analogous
#2C5679 #2C2F79 #4F2C79
triadic
#2C2F79 #792C2F #2F792C
tetradic
#2C2F79 #792C56 #79762C #2C794F
square
#2C2F79 #792C56 #79762C #2C794F
split-complementary
#2C2F79 #794F2C #56792C
monochromatic
#0B0C1F #1C1E4C #2C2F79 #3C40A6 #5C60C4
Accessibility & contrast
On white
11.73
#2C2F79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2C2F79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2F79
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2F79 | 1.00 | 11.73 | 1.79 | 11.73 |
| #FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#003578
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2c2f79; /* rgb */ color: rgb(44, 47, 121); /* oklch */ color: oklch(35.0% 0.124 276.2);
Tailwind
colors: {
custom: {
50: '#6e67a0',
500: '#2c2f79',
950: '#000000',
},
}SCSS
$custom: #2c2f79; $custom-light: #6e67a0; $custom-dark: #000000;
JSON
{
"hex": "#2c2f79",
"rgb": {
"r": 44,
"g": 47,
"b": 121
},
"hsl": {
"h": 237.662,
"s": 46.667,
"l": 32.353
},
"oklch": {
"l": 0.34982,
"c": 0.12371,
"h": 276.2
},
"luminance": 0.03949
}Semantic roles & 50–950 ramp
primary
#2C2F79
secondary
#AAA757
accent
#D151D6
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060F
muted
#7B7A7E