#2F1C9D#2F1C9D
#2F1C9D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.9% C 0.191 H 277.4°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1C9D |
|---|---|
| RGB | rgb(47, 28, 157) |
| HSL | hsl(249, 70%, 36%) |
| HSV | hsv(249, 82%, 62%) |
| CMYK | cmyk(70.1%, 82.2%, 0%, 38.4%) |
| CIE-LAB | lab(23.23, 46.98, -65.65) |
| CIE-LCH | lch(23.23, 80.73, 305.58°) |
| OKLab | oklab(35.92% 0.0246 -0.1897) |
| OKLCH | oklch(35.92% 0.191 277.4) |
| XYZ | xyz(7.6714, 3.8685, 32.2342) |
| Luminance | 0.0387 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.06
Royal
#0C1793
ΔE00 3.21
Cobalt Blue
#030AA7
ΔE00 3.55
Royal Blue (survey)
#0504AA
ΔE00 3.94
Ultramarine
#2000B1
ΔE00 3.94
Indigo (survey)
#380282
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1C9D #8A9D1C
analogous
#1C4A9D #2F1C9D #701C9D
triadic
#2F1C9D #9D2F1C #1C9D2F
tetradic
#2F1C9D #9D1C4A #8A9D1C #1C9D70
square
#2F1C9D #9D1C4A #8A9D1C #1C9D70
split-complementary
#2F1C9D #9D701C #4A9D1C
monochromatic
#100935 #1F1369 #2F1C9D #3F25D1 #6853E0
Accessibility & contrast
On white
11.84
#2F1C9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2F1C9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1C9D
11.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1C9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1C9D | 1.00 | 11.84 | 1.77 | 11.84 |
| #FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003CA1
Deuteranopia (green-blind)
#00329B
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2f1c9d; /* rgb */ color: rgb(47, 28, 157); /* oklch */ color: oklch(35.9% 0.191 277.4);
Tailwind
colors: {
custom: {
50: '#795dbb',
500: '#2f1c9d',
950: '#000000',
},
}SCSS
$custom: #2f1c9d; $custom-light: #795dbb; $custom-dark: #000000;
JSON
{
"hex": "#2f1c9d",
"rgb": {
"r": 47,
"g": 28,
"b": 157
},
"hsl": {
"h": 248.837,
"s": 69.73,
"l": 36.275
},
"oklch": {
"l": 0.35922,
"c": 0.19128,
"h": 277.4
},
"luminance": 0.03869
}Semantic roles & 50–950 ramp
primary
#2F1C9D
secondary
#B3C351
accent
#ED3BD2
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981