#2F2294#2F2294
#2F2294 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.175 H 277.9°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2294 |
|---|---|
| RGB | rgb(47, 34, 148) |
| HSL | hsl(247, 63%, 36%) |
| HSV | hsv(247, 77%, 58%) |
| CMYK | cmyk(68.2%, 77%, 0%, 42%) |
| CIE-LAB | lab(23.29, 41.10, -60.03) |
| CIE-LCH | lch(23.29, 72.75, 304.40°) |
| OKLab | oklab(35.67% 0.024 -0.1734) |
| OKLCH | oklch(35.67% 0.175 277.9) |
| XYZ | xyz(7.0879, 3.8859, 28.3878) |
| Luminance | 0.0389 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.37
Indigo Blue
#3A18B1
ΔE00 4.57
Cobalt Blue
#030AA7
ΔE00 4.96
Royal Blue (survey)
#0504AA
ΔE00 5.45
Ultramarine
#2000B1
ΔE00 5.69
Indigo (survey)
#380282
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2294 #879422
analogous
#224E94 #2F2294 #682294
triadic
#2F2294 #942F22 #22942F
tetradic
#2F2294 #94224E #879422 #229468
square
#2F2294 #94224E #879422 #229468
split-complementary
#2F2294 #946822 #4E9422
monochromatic
#0F0B30 #1F1762 #2F2294 #3F2DC6 #6658D9
Accessibility & contrast
On white
11.82
#2F2294 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2F2294 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2294
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2294 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2294 | 1.00 | 11.82 | 1.78 | 11.82 |
| #FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003392
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2f2294; /* rgb */ color: rgb(47, 34, 148); /* oklch */ color: oklch(35.7% 0.175 277.9);
Tailwind
colors: {
custom: {
50: '#7760b5',
500: '#2f2294',
950: '#000000',
},
}SCSS
$custom: #2f2294; $custom-light: #7760b5; $custom-dark: #000000;
JSON
{
"hex": "#2f2294",
"rgb": {
"r": 47,
"g": 34,
"b": 148
},
"hsl": {
"h": 246.842,
"s": 62.637,
"l": 35.686
},
"oklch": {
"l": 0.35668,
"c": 0.17505,
"h": 277.9
},
"luminance": 0.03887
}Semantic roles & 50–950 ramp
primary
#2F2294
secondary
#B1BD55
accent
#E642D3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980