#2F1BA0#2F1BA0
#2F1BA0 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.2% C 0.196 H 277.1°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1BA0 |
|---|---|
| RGB | rgb(47, 27, 160) |
| HSL | hsl(249, 71%, 37%) |
| HSV | hsv(249, 83%, 63%) |
| CMYK | cmyk(70.6%, 83.1%, 0%, 37.3%) |
| CIE-LAB | lab(23.42, 48.34, -67.17) |
| CIE-LCH | lch(23.42, 82.76, 305.74°) |
| OKLab | oklab(36.16% 0.0241 -0.1941) |
| OKLCH | oklch(36.16% 0.196 277.1) |
| XYZ | xyz(7.9073, 3.9255, 33.5919) |
| Luminance | 0.0393 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.66
Cobalt Blue
#030AA7
ΔE00 3.34
Royal
#0C1793
ΔE00 3.40
Ultramarine
#2000B1
ΔE00 3.58
Royal Blue (survey)
#0504AA
ΔE00 3.69
True Blue
#010FCC
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1BA0 #8CA01B
analogous
#1B49A0 #2F1BA0 #721BA0
triadic
#2F1BA0 #A02F1B #1BA02F
tetradic
#2F1BA0 #A01B49 #8CA01B #1BA072
square
#2F1BA0 #A01B49 #8CA01B #1BA072
split-complementary
#2F1BA0 #A0721B #49A01B
monochromatic
#100937 #20126C #2F1BA0 #3E24D4 #6953E2
Accessibility & contrast
On white
11.76
#2F1BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2F1BA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1BA0
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1BA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1BA0 | 1.00 | 11.76 | 1.79 | 11.76 |
| #FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00329E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2f1ba0; /* rgb */ color: rgb(47, 27, 160); /* oklch */ color: oklch(36.2% 0.196 277.1);
Tailwind
colors: {
custom: {
50: '#7a5dbd',
500: '#2f1ba0',
950: '#000000',
},
}SCSS
$custom: #2f1ba0; $custom-light: #7a5dbd; $custom-dark: #000000;
JSON
{
"hex": "#2f1ba0",
"rgb": {
"r": 47,
"g": 27,
"b": 160
},
"hsl": {
"h": 249.023,
"s": 71.123,
"l": 36.667
},
"oklch": {
"l": 0.36156,
"c": 0.19557,
"h": 277.1
},
"luminance": 0.03926
}Semantic roles & 50–950 ramp
primary
#2F1BA0
secondary
#B4C552
accent
#EE3AD3
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981