#2F1CB4#2F1CB4
#2F1CB4 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.6% C 0.218 H 274.7°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1CB4 |
|---|---|
| RGB | rgb(47, 28, 180) |
| HSL | hsl(248, 73%, 41%) |
| HSV | hsv(248, 84%, 71%) |
| CMYK | cmyk(73.9%, 84.4%, 0%, 29.4%) |
| CIE-LAB | lab(25.95, 53.83, -75.05) |
| CIE-LCH | lch(25.95, 92.36, 305.65°) |
| OKLab | oklab(38.58% 0.0177 -0.217) |
| OKLCH | oklch(38.58% 0.218 274.7) |
| XYZ | xyz(9.8230, 4.7291, 43.5663) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.27
True Blue
#010FCC
ΔE00 3.18
Ultramarine
#2000B1
ΔE00 3.44
Mediumblue
#0000CD
ΔE00 3.74
Cobalt Blue
#030AA7
ΔE00 4.17
Royal Blue (survey)
#0504AA
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1CB4 #A1B41C
analogous
#1C55B4 #2F1CB4 #7B1CB4
triadic
#2F1CB4 #B42F1C #1CB42F
tetradic
#2F1CB4 #B41C55 #A1B41C #1CB47B
square
#2F1CB4 #B41C55 #A1B41C #1CB47B
split-complementary
#2F1CB4 #B47B1C #55B41C
monochromatic
#130C4A #21147F #2F1CB4 #452FDF #7464E7
Accessibility & contrast
On white
10.79
#2F1CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2F1CB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1CB4
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1CB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1CB4 | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044B8
Deuteranopia (green-blind)
#0036B1
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2f1cb4; /* rgb */ color: rgb(47, 28, 180); /* oklch */ color: oklch(38.6% 0.218 274.7);
Tailwind
colors: {
custom: {
50: '#7e5fcc',
500: '#2f1cb4',
950: '#000000',
},
}SCSS
$custom: #2f1cb4; $custom-light: #7e5fcc; $custom-dark: #000000;
JSON
{
"hex": "#2f1cb4",
"rgb": {
"r": 47,
"g": 28,
"b": 180
},
"hsl": {
"h": 247.5,
"s": 73.077,
"l": 40.784
},
"oklch": {
"l": 0.38581,
"c": 0.21768,
"h": 274.7
},
"luminance": 0.0473
}Semantic roles & 50–950 ramp
primary
#2F1CB4
secondary
#BECC60
accent
#F038D9
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982