#2F1BA6#2F1BA6
#2F1BA6 is a dark, highly saturated blue. Relative luminance 0.041; OKLCH L 36.8% C 0.202 H 276.3°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1BA6 |
|---|---|
| RGB | rgb(47, 27, 166) |
| HSL | hsl(249, 72%, 38%) |
| HSV | hsv(249, 84%, 65%) |
| CMYK | cmyk(71.7%, 83.7%, 0%, 34.9%) |
| CIE-LAB | lab(24.13, 50.13, -69.64) |
| CIE-LCH | lch(24.13, 85.81, 305.75°) |
| OKLab | oklab(36.85% 0.0222 -0.2013) |
| OKLCH | oklch(36.85% 0.202 276.3) |
| XYZ | xyz(8.4449, 4.1406, 36.4232) |
| Luminance | 0.0414 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.97
Ultramarine
#2000B1
ΔE00 3.25
Cobalt Blue
#030AA7
ΔE00 3.34
Royal Blue (survey)
#0504AA
ΔE00 3.61
Royal
#0C1793
ΔE00 3.95
True Blue
#010FCC
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1BA6 #92A61B
analogous
#1B4CA6 #2F1BA6 #741BA6
triadic
#2F1BA6 #A62F1B #1BA62F
tetradic
#2F1BA6 #A61B4C #92A61B #1BA674
square
#2F1BA6 #A61B4C #92A61B #1BA674
split-complementary
#2F1BA6 #A6741B #4CA61B
monochromatic
#110A3D #201271 #2F1BA6 #3E24DB #6C58E4
Accessibility & contrast
On white
11.49
#2F1BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2F1BA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1BA6
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1BA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1BA6 | 1.00 | 11.49 | 1.83 | 11.49 |
| #FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FAA
Deuteranopia (green-blind)
#0033A4
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2f1ba6; /* rgb */ color: rgb(47, 27, 166); /* oklch */ color: oklch(36.8% 0.202 276.3);
Tailwind
colors: {
custom: {
50: '#7b5dc2',
500: '#2f1ba6',
950: '#000000',
},
}SCSS
$custom: #2f1ba6; $custom-light: #7b5dc2; $custom-dark: #000000;
JSON
{
"hex": "#2f1ba6",
"rgb": {
"r": 47,
"g": 27,
"b": 166
},
"hsl": {
"h": 248.633,
"s": 72.021,
"l": 37.843
},
"oklch": {
"l": 0.36849,
"c": 0.20249,
"h": 276.3
},
"luminance": 0.04141
}Semantic roles & 50–950 ramp
primary
#2F1BA6
secondary
#B7C756
accent
#EF39D5
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982