#2F2E76#2F2E76
#2F2E76 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.8% C 0.120 H 278.8°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2E76 |
|---|---|
| RGB | rgb(47, 46, 118) |
| HSL | hsl(241, 44%, 32%) |
| HSV | hsv(241, 61%, 46%) |
| CMYK | cmyk(60.2%, 61%, 0%, 53.7%) |
| CIE-LAB | lab(23.22, 23.37, -41.31) |
| CIE-LCH | lch(23.22, 47.46, 299.49°) |
| OKLab | oklab(34.76% 0.0183 -0.1186) |
| OKLCH | oklch(34.76% 0.12 278.8) |
| XYZ | xyz(5.4183, 3.8660, 17.5967) |
| Luminance | 0.0387 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.84
Midnight Blue
#191970
ΔE00 6.04
Blueberry
#464196
ΔE00 7.16
Marine
#042E60
ΔE00 7.81
Royal
#0C1793
ΔE00 8.36
Sapphire (survey)
#2138AB
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2E76 #75762E
analogous
#2E5176 #2F2E76 #532E76
triadic
#2F2E76 #762F2E #2E762F
tetradic
#2F2E76 #762E51 #75762E #2E7653
square
#2F2E76 #762E51 #75762E #2E7653
split-complementary
#2F2E76 #76532E #51762E
monochromatic
#0C0C1E #1D1D4A #2F2E76 #413FA2 #5F5EC0
Accessibility & contrast
On white
11.84
#2F2E76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2F2E76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2E76
11.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2E76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2E76 | 1.00 | 11.84 | 1.77 | 11.84 |
| #FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#003475
Tritanopia (blue-blind)
#043F4D
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2f2e76; /* rgb */ color: rgb(47, 46, 118); /* oklch */ color: oklch(34.8% 0.120 278.8);
Tailwind
colors: {
custom: {
50: '#6f669e',
500: '#2f2e76',
950: '#000000',
},
}SCSS
$custom: #2f2e76; $custom-light: #6f669e; $custom-dark: #000000;
JSON
{
"hex": "#2f2e76",
"rgb": {
"r": 47,
"g": 46,
"b": 118
},
"hsl": {
"h": 240.833,
"s": 43.902,
"l": 32.157
},
"oklch": {
"l": 0.3476,
"c": 0.11998,
"h": 278.8
},
"luminance": 0.03866
}Semantic roles & 50–950 ramp
primary
#2F2E76
secondary
#A6A759
accent
#D454D2
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E