#2F1E9D#2F1E9D
#2F1E9D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.1% C 0.190 H 277.2°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1E9D |
|---|---|
| RGB | rgb(47, 30, 157) |
| HSL | hsl(248, 68%, 37%) |
| HSV | hsv(248, 81%, 62%) |
| CMYK | cmyk(70.1%, 80.9%, 0%, 38.4%) |
| CIE-LAB | lab(23.56, 46.02, -65.11) |
| CIE-LCH | lch(23.56, 79.73, 305.25°) |
| OKLab | oklab(36.15% 0.0237 -0.1882) |
| OKLCH | oklch(36.15% 0.19 277.2) |
| XYZ | xyz(7.7204, 3.9665, 32.2505) |
| Luminance | 0.0397 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.13
Royal
#0C1793
ΔE00 3.31
Cobalt Blue
#030AA7
ΔE00 3.82
Royal Blue (survey)
#0504AA
ΔE00 4.23
Ultramarine
#2000B1
ΔE00 4.23
Indigo (survey)
#380282
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1E9D #8C9D1E
analogous
#1E4D9D #2F1E9D #6E1E9D
triadic
#2F1E9D #9D2F1E #1E9D2F
tetradic
#2F1E9D #9D1E4D #8C9D1E #1E9D6E
square
#2F1E9D #9D1E4D #8C9D1E #1E9D6E
split-complementary
#2F1E9D #9D6E1E #4D9D1E
monochromatic
#100A36 #20146A #2F1E9D #3E28D0 #6957DF
Accessibility & contrast
On white
11.71
#2F1E9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2F1E9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1E9D
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1E9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1E9D | 1.00 | 11.71 | 1.79 | 11.71 |
| #FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA0
Deuteranopia (green-blind)
#00339B
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2f1e9d; /* rgb */ color: rgb(47, 30, 157); /* oklch */ color: oklch(36.1% 0.190 277.2);
Tailwind
colors: {
custom: {
50: '#795ebb',
500: '#2f1e9d',
950: '#000000',
},
}SCSS
$custom: #2f1e9d; $custom-light: #795ebb; $custom-dark: #000000;
JSON
{
"hex": "#2f1e9d",
"rgb": {
"r": 47,
"g": 30,
"b": 157
},
"hsl": {
"h": 248.031,
"s": 67.914,
"l": 36.667
},
"oklch": {
"l": 0.3615,
"c": 0.18963,
"h": 277.2
},
"luminance": 0.03967
}Semantic roles & 50–950 ramp
primary
#2F1E9D
secondary
#B4C254
accent
#EB3DD4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0512
muted
#7C7981