#2F2992#2F2992
#2F2992 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.165 H 276.9°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2992 |
|---|---|
| RGB | rgb(47, 41, 146) |
| HSL | hsl(243, 56%, 37%) |
| HSV | hsv(243, 72%, 57%) |
| CMYK | cmyk(67.8%, 71.9%, 0%, 42.7%) |
| CIE-LAB | lab(24.53, 36.40, -56.75) |
| CIE-LCH | lch(24.53, 67.42, 302.67°) |
| OKLab | oklab(36.49% 0.0199 -0.1639) |
| OKLCH | oklch(36.49% 0.165 276.9) |
| XYZ | xyz(7.1518, 4.2649, 27.6349) |
| Luminance | 0.0427 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.63
Sapphire (survey)
#2138AB
ΔE00 5.58
Indigo Blue
#3A18B1
ΔE00 5.73
Midnight Blue
#191970
ΔE00 6.41
Cobalt Blue
#030AA7
ΔE00 6.49
Darkslateblue
#483D8B
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2992 #8C9229
analogous
#295892 #2F2992 #642992
triadic
#2F2992 #922F29 #29922F
tetradic
#2F2992 #922958 #8C9229 #299264
square
#2F2992 #922958 #8C9229 #299264
split-complementary
#2F2992 #926429 #589229
monochromatic
#100E32 #201C62 #2F2992 #3E36C2 #6962D3
Accessibility & contrast
On white
11.33
#2F2992 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#2F2992 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2992
11.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2992 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2992 | 1.00 | 11.33 | 1.85 | 11.33 |
| #FFFFFF | 11.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2f2992; /* rgb */ color: rgb(47, 41, 146); /* oklch */ color: oklch(36.5% 0.165 276.9);
Tailwind
colors: {
custom: {
50: '#7564b3',
500: '#2f2992',
950: '#000000',
},
}SCSS
$custom: #2f2992; $custom-light: #7564b3; $custom-dark: #000000;
JSON
{
"hex": "#2f2992",
"rgb": {
"r": 47,
"g": 41,
"b": 146
},
"hsl": {
"h": 243.429,
"s": 56.15,
"l": 36.667
},
"oklch": {
"l": 0.36486,
"c": 0.16508,
"h": 276.9
},
"luminance": 0.04266
}Semantic roles & 50–950 ramp
primary
#2F2992
secondary
#B4B95E
accent
#DF48D7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80