#2F1C9F#2F1C9F
#2F1C9F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.1% C 0.194 H 277.1°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1C9F |
|---|---|
| RGB | rgb(47, 28, 159) |
| HSL | hsl(249, 70%, 37%) |
| HSV | hsv(249, 82%, 62%) |
| CMYK | cmyk(70.4%, 82.4%, 0%, 37.6%) |
| CIE-LAB | lab(23.46, 47.58, -66.49) |
| CIE-LCH | lch(23.46, 81.77, 305.59°) |
| OKLab | oklab(36.15% 0.024 -0.1921) |
| OKLCH | oklch(36.15% 0.194 277.1) |
| XYZ | xyz(7.8435, 3.9373, 33.1408) |
| Luminance | 0.0394 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.81
Royal
#0C1793
ΔE00 3.35
Cobalt Blue
#030AA7
ΔE00 3.49
Ultramarine
#2000B1
ΔE00 3.79
Royal Blue (survey)
#0504AA
ΔE00 3.86
True Blue
#010FCC
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1C9F #8C9F1C
analogous
#1C4B9F #2F1C9F #711C9F
triadic
#2F1C9F #9F2F1C #1C9F2F
tetradic
#2F1C9F #9F1C4B #8C9F1C #1C9F71
square
#2F1C9F #9F1C4B #8C9F1C #1C9F71
split-complementary
#2F1C9F #9F711C #4B9F1C
monochromatic
#100A37 #20136B #2F1C9F #3E25D3 #6954E1
Accessibility & contrast
On white
11.75
#2F1C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2F1C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1C9F
11.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1C9F | 1.00 | 11.75 | 1.79 | 11.75 |
| #FFFFFF | 11.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00329D
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2f1c9f; /* rgb */ color: rgb(47, 28, 159); /* oklch */ color: oklch(36.1% 0.194 277.1);
Tailwind
colors: {
custom: {
50: '#7a5dbd',
500: '#2f1c9f',
950: '#000000',
},
}SCSS
$custom: #2f1c9f; $custom-light: #7a5dbd; $custom-dark: #000000;
JSON
{
"hex": "#2f1c9f",
"rgb": {
"r": 47,
"g": 28,
"b": 159
},
"hsl": {
"h": 248.702,
"s": 70.053,
"l": 36.667
},
"oklch": {
"l": 0.3615,
"c": 0.19363,
"h": 277.1
},
"luminance": 0.03938
}Semantic roles & 50–950 ramp
primary
#2F1C9F
secondary
#B4C453
accent
#ED3BD3
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981