#2F1E9A#2F1E9A
#2F1E9A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.186 H 277.6°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1E9A |
|---|---|
| RGB | rgb(47, 30, 154) |
| HSL | hsl(248, 67%, 36%) |
| HSV | hsv(248, 81%, 60%) |
| CMYK | cmyk(69.5%, 80.5%, 0%, 39.6%) |
| CIE-LAB | lab(23.22, 45.09, -63.83) |
| CIE-LCH | lch(23.22, 78.15, 305.24°) |
| OKLab | oklab(35.81% 0.0245 -0.1844) |
| OKLCH | oklch(35.81% 0.186 277.6) |
| XYZ | xyz(7.4674, 3.8653, 30.9181) |
| Luminance | 0.0387 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.13
Indigo Blue
#3A18B1
ΔE00 3.51
Cobalt Blue
#030AA7
ΔE00 3.95
Royal Blue (survey)
#0504AA
ΔE00 4.38
Ultramarine
#2000B1
ΔE00 4.48
Indigo (survey)
#380282
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1E9A #899A1E
analogous
#1E4B9A #2F1E9A #6D1E9A
triadic
#2F1E9A #9A2F1E #1E9A2F
tetradic
#2F1E9A #9A1E4B #899A1E #1E9A6D
square
#2F1E9A #9A1E4B #899A1E #1E9A6D
split-complementary
#2F1E9A #9A6D1E #4B9A1E
monochromatic
#100A34 #1F1467 #2F1E9A #3F28CD #6755DE
Accessibility & contrast
On white
11.84
#2F1E9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2F1E9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1E9A
11.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1E9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1E9A | 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)
#003C9D
Deuteranopia (green-blind)
#003298
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2f1e9a; /* rgb */ color: rgb(47, 30, 154); /* oklch */ color: oklch(35.8% 0.186 277.6);
Tailwind
colors: {
custom: {
50: '#785eb9',
500: '#2f1e9a',
950: '#000000',
},
}SCSS
$custom: #2f1e9a; $custom-light: #785eb9; $custom-dark: #000000;
JSON
{
"hex": "#2f1e9a",
"rgb": {
"r": 47,
"g": 30,
"b": 154
},
"hsl": {
"h": 248.226,
"s": 67.391,
"l": 36.078
},
"oklch": {
"l": 0.35814,
"c": 0.18606,
"h": 277.6
},
"luminance": 0.03866
}Semantic roles & 50–950 ramp
primary
#2F1E9A
secondary
#B2C153
accent
#EA3ED3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0412
muted
#7C7981