#2F2296#2F2296
#2F2296 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.178 H 277.6°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2296 |
|---|---|
| RGB | rgb(47, 34, 150) |
| HSL | hsl(247, 63%, 36%) |
| HSV | hsv(247, 77%, 59%) |
| CMYK | cmyk(68.7%, 77.3%, 0%, 41.2%) |
| CIE-LAB | lab(23.50, 41.75, -60.91) |
| CIE-LCH | lch(23.50, 73.84, 304.43°) |
| OKLab | oklab(35.88% 0.0235 -0.176) |
| OKLCH | oklch(35.88% 0.178 277.6) |
| XYZ | xyz(7.2476, 3.9498, 29.2287) |
| Luminance | 0.0395 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.39
Indigo Blue
#3A18B1
ΔE00 4.31
Cobalt Blue
#030AA7
ΔE00 4.82
Royal Blue (survey)
#0504AA
ΔE00 5.30
Ultramarine
#2000B1
ΔE00 5.49
Indigo (survey)
#380282
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2296 #899622
analogous
#224F96 #2F2296 #692296
triadic
#2F2296 #962F22 #22962F
tetradic
#2F2296 #96224F #899622 #229669
square
#2F2296 #96224F #899622 #229669
split-complementary
#2F2296 #966922 #4F9622
monochromatic
#100B32 #1F1764 #2F2296 #3F2DC8 #6759D9
Accessibility & contrast
On white
11.73
#2F2296 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2F2296 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2296
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2296 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2296 | 1.00 | 11.73 | 1.79 | 11.73 |
| #FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003394
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2f2296; /* rgb */ color: rgb(47, 34, 150); /* oklch */ color: oklch(35.9% 0.178 277.6);
Tailwind
colors: {
custom: {
50: '#7760b6',
500: '#2f2296',
950: '#000000',
},
}SCSS
$custom: #2f2296; $custom-light: #7760b6; $custom-dark: #000000;
JSON
{
"hex": "#2f2296",
"rgb": {
"r": 47,
"g": 34,
"b": 150
},
"hsl": {
"h": 246.724,
"s": 63.043,
"l": 36.078
},
"oklch": {
"l": 0.35883,
"c": 0.17752,
"h": 277.6
},
"luminance": 0.0395
}Semantic roles & 50–950 ramp
primary
#2F2296
secondary
#B2BE56
accent
#E642D4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980