#2F1EB3#2F1EB3
#2F1EB3 is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.7% C 0.215 H 274.6°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1EB3 |
|---|---|
| RGB | rgb(47, 30, 179) |
| HSL | hsl(247, 71%, 41%) |
| HSV | hsv(247, 83%, 70%) |
| CMYK | cmyk(73.7%, 83.2%, 0%, 29.8%) |
| CIE-LAB | lab(26.12, 52.68, -74.17) |
| CIE-LCH | lch(26.12, 90.98, 305.38°) |
| OKLab | oklab(38.66% 0.0174 -0.2144) |
| OKLCH | oklch(38.66% 0.215 274.6) |
| XYZ | xyz(9.7706, 4.7866, 43.0481) |
| Luminance | 0.0479 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.45
True Blue
#010FCC
ΔE00 3.39
Ultramarine
#2000B1
ΔE00 3.72
Mediumblue
#0000CD
ΔE00 4.01
Cobalt Blue
#030AA7
ΔE00 4.33
Royal Blue (survey)
#0504AA
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1EB3 #A2B31E
analogous
#1E57B3 #2F1EB3 #791EB3
triadic
#2F1EB3 #B32F1E #1EB32F
tetradic
#2F1EB3 #B31E57 #A2B31E #1EB379
square
#2F1EB3 #B31E57 #A2B31E #1EB379
split-complementary
#2F1EB3 #B3791E #57B31E
monochromatic
#130C4A #21157F #2F1EB3 #4532DD #7566E5
Accessibility & contrast
On white
10.73
#2F1EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2F1EB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1EB3
10.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1EB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1EB3 | 1.00 | 10.73 | 1.96 | 10.73 |
| #FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044B7
Deuteranopia (green-blind)
#0037B1
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2f1eb3; /* rgb */ color: rgb(47, 30, 179); /* oklch */ color: oklch(38.7% 0.215 274.6);
Tailwind
colors: {
custom: {
50: '#7e5fcb',
500: '#2f1eb3',
950: '#000000',
},
}SCSS
$custom: #2f1eb3; $custom-light: #7e5fcb; $custom-dark: #000000;
JSON
{
"hex": "#2f1eb3",
"rgb": {
"r": 47,
"g": 30,
"b": 179
},
"hsl": {
"h": 246.846,
"s": 71.292,
"l": 40.98
},
"oklch": {
"l": 0.38663,
"c": 0.21516,
"h": 274.6
},
"luminance": 0.04788
}Semantic roles & 50–950 ramp
primary
#2F1EB3
secondary
#BFCB62
accent
#EE3AD9
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982