#2F1AB3#2F1AB3
#2F1AB3 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.3% C 0.218 H 274.9°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1AB3 |
|---|---|
| RGB | rgb(47, 26, 179) |
| HSL | hsl(248, 75%, 40%) |
| HSV | hsv(248, 85%, 70%) |
| CMYK | cmyk(73.7%, 85.5%, 0%, 29.8%) |
| CIE-LAB | lab(25.55, 54.35, -75.11) |
| CIE-LCH | lch(25.55, 92.71, 305.89°) |
| OKLab | oklab(38.28% 0.0186 -0.2171) |
| OKLCH | oklch(38.28% 0.218 274.9) |
| XYZ | xyz(9.6757, 4.5968, 43.0164) |
| Luminance | 0.0460 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.12
Ultramarine
#2000B1
ΔE00 3.11
True Blue
#010FCC
ΔE00 3.19
Mediumblue
#0000CD
ΔE00 3.65
Cobalt Blue
#030AA7
ΔE00 3.89
Royal Blue (survey)
#0504AA
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1AB3 #9EB31A
analogous
#1A52B3 #2F1AB3 #7B1AB3
triadic
#2F1AB3 #B32F1A #1AB32F
tetradic
#2F1AB3 #B31A52 #9EB31A #1AB37B
square
#2F1AB3 #B31A52 #9EB31A #1AB37B
split-complementary
#2F1AB3 #B37B1A #52B31A
monochromatic
#130A48 #21127E #2F1AB3 #432AE0 #7260E8
Accessibility & contrast
On white
10.94
#2F1AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2F1AB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1AB3
10.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1AB3 | 1.00 | 10.94 | 1.92 | 10.94 |
| #FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043B7
Deuteranopia (green-blind)
#0036B0
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2f1ab3; /* rgb */ color: rgb(47, 26, 179); /* oklch */ color: oklch(38.3% 0.218 274.9);
Tailwind
colors: {
custom: {
50: '#7e5ecb',
500: '#2f1ab3',
950: '#000000',
},
}SCSS
$custom: #2f1ab3; $custom-light: #7e5ecb; $custom-dark: #000000;
JSON
{
"hex": "#2f1ab3",
"rgb": {
"r": 47,
"g": 26,
"b": 179
},
"hsl": {
"h": 248.235,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.38275,
"c": 0.21788,
"h": 274.9
},
"luminance": 0.04598
}Semantic roles & 50–950 ramp
primary
#2F1AB3
secondary
#BDCC5D
accent
#F137D8
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982