#2F1CA6#2F1CA6
#2F1CA6 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 37.0% C 0.202 H 276.2°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1CA6 |
|---|---|
| RGB | rgb(47, 28, 166) |
| HSL | hsl(248, 71%, 38%) |
| HSV | hsv(248, 83%, 65%) |
| CMYK | cmyk(71.7%, 83.1%, 0%, 34.9%) |
| CIE-LAB | lab(24.28, 49.69, -69.40) |
| CIE-LCH | lch(24.28, 85.35, 305.61°) |
| OKLab | oklab(36.95% 0.0219 -0.2006) |
| OKLCH | oklch(36.95% 0.202 276.2) |
| XYZ | xyz(8.4682, 4.1872, 36.4309) |
| Luminance | 0.0419 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.00
Ultramarine
#2000B1
ΔE00 3.40
Cobalt Blue
#030AA7
ΔE00 3.46
Royal Blue (survey)
#0504AA
ΔE00 3.74
Royal
#0C1793
ΔE00 3.98
True Blue
#010FCC
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1CA6 #93A61C
analogous
#1C4EA6 #2F1CA6 #741CA6
triadic
#2F1CA6 #A62F1C #1CA62F
tetradic
#2F1CA6 #A61C4E #93A61C #1CA674
square
#2F1CA6 #A61C4E #93A61C #1CA674
split-complementary
#2F1CA6 #A6741C #4EA61C
monochromatic
#110A3D #201372 #2F1CA6 #3E25DA #6C59E3
Accessibility & contrast
On white
11.43
#2F1CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2F1CA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1CA6
11.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1CA6 | 1.00 | 11.43 | 1.84 | 11.43 |
| #FFFFFF | 11.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FAA
Deuteranopia (green-blind)
#0034A4
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2f1ca6; /* rgb */ color: rgb(47, 28, 166); /* oklch */ color: oklch(37.0% 0.202 276.2);
Tailwind
colors: {
custom: {
50: '#7b5dc2',
500: '#2f1ca6',
950: '#000000',
},
}SCSS
$custom: #2f1ca6; $custom-light: #7b5dc2; $custom-dark: #000000;
JSON
{
"hex": "#2f1ca6",
"rgb": {
"r": 47,
"g": 28,
"b": 166
},
"hsl": {
"h": 248.261,
"s": 71.134,
"l": 38.039
},
"oklch": {
"l": 0.36952,
"c": 0.20175,
"h": 276.2
},
"luminance": 0.04188
}Semantic roles & 50–950 ramp
primary
#2F1CA6
secondary
#B7C757
accent
#EE3AD5
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982