#2C2F78#2C2F78
#2C2F78 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.122 H 276.2°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2F78 |
|---|---|
| RGB | rgb(44, 47, 120) |
| HSL | hsl(238, 46%, 32%) |
| HSV | hsv(238, 63%, 47%) |
| CMYK | cmyk(63.3%, 60.8%, 0%, 52.9%) |
| CIE-LAB | lab(23.42, 22.83, -42.28) |
| CIE-LCH | lch(23.42, 48.05, 298.37°) |
| OKLab | oklab(34.9% 0.0133 -0.1215) |
| OKLCH | oklch(34.9% 0.122 276.2) |
| XYZ | xyz(5.4443, 3.9241, 18.2362) |
| Luminance | 0.0393 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.91
Midnight Blue
#191970
ΔE00 6.24
Blueberry
#464196
ΔE00 6.98
Marine
#042E60
ΔE00 7.28
Sapphire (survey)
#2138AB
ΔE00 8.00
Royal
#0C1793
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2F78 #78752C
analogous
#2C5578 #2C2F78 #4F2C78
triadic
#2C2F78 #782C2F #2F782C
tetradic
#2C2F78 #782C55 #78752C #2C784F
square
#2C2F78 #782C55 #78752C #2C784F
split-complementary
#2C2F78 #784F2C #55782C
monochromatic
#0B0C1E #1C1D4B #2C2F78 #3C41A5 #5B5FC3
Accessibility & contrast
On white
11.76
#2C2F78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2C2F78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2F78
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2F78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2F78 | 1.00 | 11.76 | 1.79 | 11.76 |
| #FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B7A
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2c2f78; /* rgb */ color: rgb(44, 47, 120); /* oklch */ color: oklch(34.9% 0.122 276.2);
Tailwind
colors: {
custom: {
50: '#6e67a0',
500: '#2c2f78',
950: '#000000',
},
}SCSS
$custom: #2c2f78; $custom-light: #6e67a0; $custom-dark: #000000;
JSON
{
"hex": "#2c2f78",
"rgb": {
"r": 44,
"g": 47,
"b": 120
},
"hsl": {
"h": 237.632,
"s": 46.341,
"l": 32.157
},
"oklch": {
"l": 0.34896,
"c": 0.12224,
"h": 276.2
},
"luminance": 0.03925
}Semantic roles & 50–950 ramp
primary
#2C2F78
secondary
#A9A657
accent
#D152D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060F
muted
#7B7A7E