#2F1E95#2F1E95
#2F1E95 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.180 H 278.3°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1E95 |
|---|---|
| RGB | rgb(47, 30, 149) |
| HSL | hsl(249, 66%, 35%) |
| HSV | hsv(249, 80%, 58%) |
| CMYK | cmyk(68.5%, 79.9%, 0%, 41.6%) |
| CIE-LAB | lab(22.66, 43.53, -61.68) |
| CIE-LCH | lch(22.66, 75.50, 305.21°) |
| OKLab | oklab(35.26% 0.0259 -0.1782) |
| OKLCH | oklch(35.26% 0.18 278.3) |
| XYZ | xyz(7.0596, 3.7022, 28.7705) |
| Luminance | 0.0370 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.96
Indigo Blue
#3A18B1
ΔE00 4.17
Cobalt Blue
#030AA7
ΔE00 4.28
Royal Blue (survey)
#0504AA
ΔE00 4.73
Ultramarine
#2000B1
ΔE00 4.96
Indigo (survey)
#380282
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1E95 #84951E
analogous
#1E4995 #2F1E95 #6A1E95
triadic
#2F1E95 #952F1E #1E952F
tetradic
#2F1E95 #951E49 #84951E #1E956A
square
#2F1E95 #951E49 #84951E #1E956A
split-complementary
#2F1E95 #956A1E #49951E
monochromatic
#0F092F #1F1462 #2F1E95 #3F28C8 #6551DC
Accessibility & contrast
On white
12.06
#2F1E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#2F1E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1E95
12.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1E95 | 1.00 | 12.06 | 1.74 | 12.06 |
| #FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B98
Deuteranopia (green-blind)
#003193
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2f1e95; /* rgb */ color: rgb(47, 30, 149); /* oklch */ color: oklch(35.3% 0.180 278.3);
Tailwind
colors: {
custom: {
50: '#775db5',
500: '#2f1e95',
950: '#000000',
},
}SCSS
$custom: #2f1e95; $custom-light: #775db5; $custom-dark: #000000;
JSON
{
"hex": "#2f1e95",
"rgb": {
"r": 47,
"g": 30,
"b": 149
},
"hsl": {
"h": 248.571,
"s": 66.48,
"l": 35.098
},
"oklch": {
"l": 0.3526,
"c": 0.18005,
"h": 278.3
},
"luminance": 0.03703
}Semantic roles & 50–950 ramp
primary
#2F1E95
secondary
#AFBF50
accent
#E93ED1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980