#2F2B79#2F2B79
#2F2B79 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.129 H 279.5°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2B79 |
|---|---|
| RGB | rgb(47, 43, 121) |
| HSL | hsl(243, 48%, 32%) |
| HSV | hsv(243, 64%, 47%) |
| CMYK | cmyk(61.2%, 64.5%, 0%, 52.5%) |
| CIE-LAB | lab(22.70, 26.44, -44.08) |
| CIE-LCH | lch(22.70, 51.40, 300.96°) |
| OKLab | oklab(34.45% 0.0213 -0.1267) |
| OKLCH | oklch(34.45% 0.129 279.5) |
| XYZ | xyz(5.4863, 3.7122, 18.5129) |
| Luminance | 0.0371 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.13
Darkslateblue
#483D8B
ΔE00 6.13
Royal
#0C1793
ΔE00 7.22
Blueberry
#464196
ΔE00 7.41
Sapphire (survey)
#2138AB
ΔE00 8.29
Marine
#042E60
ΔE00 8.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2B79 #75792B
analogous
#2B4E79 #2F2B79 #562B79
triadic
#2F2B79 #792F2B #2B792F
tetradic
#2F2B79 #792B4E #75792B #2B7956
square
#2F2B79 #792B4E #75792B #2B7956
split-complementary
#2F2B79 #79562B #4E792B
monochromatic
#0C0B1F #1D1B4C #2F2B79 #413BA6 #5F5AC4
Accessibility & contrast
On white
12.05
#2F2B79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#2F2B79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2B79
12.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2B79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2B79 | 1.00 | 12.05 | 1.74 | 12.05 |
| #FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003377
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2f2b79; /* rgb */ color: rgb(47, 43, 121); /* oklch */ color: oklch(34.4% 0.129 279.5);
Tailwind
colors: {
custom: {
50: '#7064a0',
500: '#2f2b79',
950: '#000000',
},
}SCSS
$custom: #2f2b79; $custom-light: #7064a0; $custom-dark: #000000;
JSON
{
"hex": "#2f2b79",
"rgb": {
"r": 47,
"g": 43,
"b": 121
},
"hsl": {
"h": 243.077,
"s": 47.561,
"l": 32.157
},
"oklch": {
"l": 0.3445,
"c": 0.12851,
"h": 279.5
},
"luminance": 0.03713
}Semantic roles & 50–950 ramp
primary
#2F2B79
secondary
#A6AA56
accent
#D751D0
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050F
muted
#7B7A7E