#2F1CAD#2F1CAD
#2F1CAD is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.8% C 0.210 H 275.4°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1CAD |
|---|---|
| RGB | rgb(47, 28, 173) |
| HSL | hsl(248, 72%, 39%) |
| HSV | hsv(248, 84%, 68%) |
| CMYK | cmyk(72.8%, 83.8%, 0%, 32.2%) |
| CIE-LAB | lab(25.11, 51.77, -72.25) |
| CIE-LCH | lch(25.11, 88.88, 305.63°) |
| OKLab | oklab(37.76% 0.0198 -0.2088) |
| OKLCH | oklch(37.76% 0.21 275.4) |
| XYZ | xyz(9.1279, 4.4511, 39.9052) |
| Luminance | 0.0445 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.40
Ultramarine
#2000B1
ΔE00 3.28
Cobalt Blue
#030AA7
ΔE00 3.71
True Blue
#010FCC
ΔE00 3.90
Royal Blue (survey)
#0504AA
ΔE00 3.90
Mediumblue
#0000CD
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1CAD #9AAD1C
analogous
#1C52AD #2F1CAD #781CAD
triadic
#2F1CAD #AD2F1C #1CAD2F
tetradic
#2F1CAD #AD1C52 #9AAD1C #1CAD78
square
#2F1CAD #AD1C52 #9AAD1C #1CAD78
split-complementary
#2F1CAD #AD781C #52AD1C
monochromatic
#120B44 #211378 #2F1CAD #412ADC #705EE5
Accessibility & contrast
On white
11.11
#2F1CAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2F1CAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1CAD
11.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1CAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1CAD | 1.00 | 11.11 | 1.89 | 11.11 |
| #FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042B1
Deuteranopia (green-blind)
#0035AB
Tritanopia (blue-blind)
#004B67
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2f1cad; /* rgb */ color: rgb(47, 28, 173); /* oklch */ color: oklch(37.8% 0.210 275.4);
Tailwind
colors: {
custom: {
50: '#7d5ec7',
500: '#2f1cad',
950: '#000000',
},
}SCSS
$custom: #2f1cad; $custom-light: #7d5ec7; $custom-dark: #000000;
JSON
{
"hex": "#2f1cad",
"rgb": {
"r": 47,
"g": 28,
"b": 173
},
"hsl": {
"h": 247.862,
"s": 72.139,
"l": 39.412
},
"oklch": {
"l": 0.37763,
"c": 0.20976,
"h": 275.4
},
"luminance": 0.04452
}Semantic roles & 50–950 ramp
primary
#2F1CAD
secondary
#BBC95C
accent
#EF39D7
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0B0513
muted
#7C7982