#2C2F96#2C2F96
#2C2F96 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.164 H 274.0°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2F96 |
|---|---|
| RGB | rgb(44, 47, 150) |
| HSL | hsl(238, 55%, 38%) |
| HSV | hsv(238, 71%, 59%) |
| CMYK | cmyk(70.7%, 68.7%, 0%, 41.2%) |
| CIE-LAB | lab(26.07, 33.68, -56.69) |
| CIE-LCH | lch(26.07, 65.94, 300.72°) |
| OKLab | oklab(37.66% 0.0113 -0.1638) |
| OKLCH | oklch(37.66% 0.164 274) |
| XYZ | xyz(7.5584, 4.7698, 29.3706) |
| Luminance | 0.0477 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.94
Blueberry
#464196
ΔE00 5.87
Royal
#0C1793
ΔE00 5.93
Darkslateblue
#483D8B
ΔE00 6.07
Indigo Blue
#3A18B1
ΔE00 6.62
Midnight Blue
#191970
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2F96 #96932C
analogous
#2C6496 #2C2F96 #5E2C96
triadic
#2C2F96 #962C2F #2F962C
tetradic
#2C2F96 #962C64 #96932C #2C965E
square
#2C2F96 #962C64 #96932C #2C965E
split-complementary
#2C2F96 #965E2C #64962C
monochromatic
#101137 #1E2067 #2C2F96 #3A3EC5 #696CD3
Accessibility & contrast
On white
10.75
#2C2F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2C2F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2F96
10.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2F96 | 1.00 | 10.75 | 1.95 | 10.75 |
| #FFFFFF | 10.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2c2f96; /* rgb */ color: rgb(44, 47, 150); /* oklch */ color: oklch(37.7% 0.164 274.0);
Tailwind
colors: {
custom: {
50: '#7568b6',
500: '#2c2f96',
950: '#000000',
},
}SCSS
$custom: #2c2f96; $custom-light: #7568b6; $custom-dark: #000000;
JSON
{
"hex": "#2c2f96",
"rgb": {
"r": 44,
"g": 47,
"b": 150
},
"hsl": {
"h": 238.302,
"s": 54.639,
"l": 38.039
},
"oklch": {
"l": 0.37658,
"c": 0.16418,
"h": 274
},
"luminance": 0.04771
}Semantic roles & 50–950 ramp
primary
#2C2F96
secondary
#BAB764
accent
#DA4ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80