#2F2F76#2F2F76
#2F2F76 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 35.0% C 0.119 H 278.3°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2F76 |
|---|---|
| RGB | rgb(47, 47, 118) |
| HSL | hsl(240, 43%, 32%) |
| HSV | hsv(240, 60%, 46%) |
| CMYK | cmyk(60.2%, 60.2%, 0%, 53.7%) |
| CIE-LAB | lab(23.49, 22.69, -40.88) |
| CIE-LCH | lch(23.49, 46.76, 299.03°) |
| OKLab | oklab(34.96% 0.0172 -0.1173) |
| OKLCH | oklch(34.96% 0.119 278.3) |
| XYZ | xyz(5.4578, 3.9450, 17.6099) |
| Luminance | 0.0394 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.73
Midnight Blue
#191970
ΔE00 6.34
Blueberry
#464196
ΔE00 7.02
Marine
#042E60
ΔE00 7.63
Sapphire (survey)
#2138AB
ΔE00 8.48
Royal
#0C1793
ΔE00 8.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2F76 #76762F
analogous
#2F5376 #2F2F76 #532F76
triadic
#2F2F76 #762F2F #2F762F
tetradic
#2F2F76 #762F53 #76762F #2F7653
square
#2F2F76 #762F53 #76762F #2F7653
split-complementary
#2F2F76 #76532F #53762F
monochromatic
#0C0C1E #1E1E4A #2F2F76 #4040A2 #6060C0
Accessibility & contrast
On white
11.74
#2F2F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2F2F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2F76
11.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2F76 | 1.00 | 11.74 | 1.79 | 11.74 |
| #FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B78
Deuteranopia (green-blind)
#003575
Tritanopia (blue-blind)
#04404D
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2f2f76; /* rgb */ color: rgb(47, 47, 118); /* oklch */ color: oklch(35.0% 0.119 278.3);
Tailwind
colors: {
custom: {
50: '#6f679e',
500: '#2f2f76',
950: '#000000',
},
}SCSS
$custom: #2f2f76; $custom-light: #6f679e; $custom-dark: #000000;
JSON
{
"hex": "#2f2f76",
"rgb": {
"r": 47,
"g": 47,
"b": 118
},
"hsl": {
"h": 240,
"s": 43.03,
"l": 32.353
},
"oklch": {
"l": 0.34956,
"c": 0.11856,
"h": 278.3
},
"luminance": 0.03945
}Semantic roles & 50–950 ramp
primary
#2F2F76
secondary
#A7A75A
accent
#D355D3
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E