#2F1CB3#2F1CB3
#2F1CB3 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.5% C 0.217 H 274.8°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1CB3 |
|---|---|
| RGB | rgb(47, 28, 179) |
| HSL | hsl(248, 73%, 41%) |
| HSV | hsv(248, 84%, 70%) |
| CMYK | cmyk(73.7%, 84.4%, 0%, 29.8%) |
| CIE-LAB | lab(25.83, 53.54, -74.65) |
| CIE-LCH | lch(25.83, 91.87, 305.65°) |
| OKLab | oklab(38.46% 0.018 -0.2158) |
| OKLCH | oklch(38.46% 0.217 274.8) |
| XYZ | xyz(9.7215, 4.6885, 43.0317) |
| Luminance | 0.0469 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.25
True Blue
#010FCC
ΔE00 3.27
Ultramarine
#2000B1
ΔE00 3.40
Mediumblue
#0000CD
ΔE00 3.81
Cobalt Blue
#030AA7
ΔE00 4.10
Royal Blue (survey)
#0504AA
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1CB3 #A0B31C
analogous
#1C54B3 #2F1CB3 #7B1CB3
triadic
#2F1CB3 #B32F1C #1CB32F
tetradic
#2F1CB3 #B31C54 #A0B31C #1CB37B
square
#2F1CB3 #B31C54 #A0B31C #1CB37B
split-complementary
#2F1CB3 #B37B1C #54B31C
monochromatic
#130B49 #21147E #2F1CB3 #442EDE #7363E7
Accessibility & contrast
On white
10.84
#2F1CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2F1CB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1CB3
10.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1CB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1CB3 | 1.00 | 10.84 | 1.94 | 10.84 |
| #FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044B7
Deuteranopia (green-blind)
#0036B1
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2f1cb3; /* rgb */ color: rgb(47, 28, 179); /* oklch */ color: oklch(38.5% 0.217 274.8);
Tailwind
colors: {
custom: {
50: '#7e5ecb',
500: '#2f1cb3',
950: '#000000',
},
}SCSS
$custom: #2f1cb3; $custom-light: #7e5ecb; $custom-dark: #000000;
JSON
{
"hex": "#2f1cb3",
"rgb": {
"r": 47,
"g": 28,
"b": 179
},
"hsl": {
"h": 247.55,
"s": 72.947,
"l": 40.588
},
"oklch": {
"l": 0.38464,
"c": 0.21656,
"h": 274.8
},
"luminance": 0.0469
}Semantic roles & 50–950 ramp
primary
#2F1CB3
secondary
#BECB5F
accent
#F038D9
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982