#2F1F83#2F1F83
#2F1F83 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.157 H 281.1°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1F83 |
|---|---|
| RGB | rgb(47, 31, 131) |
| HSL | hsl(250, 62%, 32%) |
| HSV | hsv(250, 76%, 51%) |
| CMYK | cmyk(64.1%, 76.3%, 0%, 48.6%) |
| CIE-LAB | lab(20.91, 37.26, -53.33) |
| CIE-LCH | lch(20.91, 65.06, 304.94°) |
| OKLab | oklab(33.46% 0.0301 -0.1538) |
| OKLCH | oklch(33.46% 0.157 281.1) |
| XYZ | xyz(5.7577, 3.2226, 21.7869) |
| Luminance | 0.0322 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.97
Midnight Blue
#191970
ΔE00 3.98
Indigo (survey)
#380282
ΔE00 4.92
Darkblue
#00008B
ΔE00 6.11
Cobalt Blue
#030AA7
ΔE00 6.35
Navy
#000080
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1F83 #73831F
analogous
#1F4183 #2F1F83 #611F83
triadic
#2F1F83 #832F1F #1F832F
tetradic
#2F1F83 #831F41 #73831F #1F8361
square
#2F1F83 #831F41 #73831F #1F8361
split-complementary
#2F1F83 #83611F #41831F
monochromatic
#0B0820 #1D1352 #2F1F83 #412BB4 #5F49D4
Accessibility & contrast
On white
12.77
#2F1F83 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#2F1F83 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1F83
12.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1F83 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1F83 | 1.00 | 12.77 | 1.64 | 12.77 |
| #FFFFFF | 12.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#002F81
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #2f1f83; /* rgb */ color: rgb(47, 31, 131); /* oklch */ color: oklch(33.5% 0.157 281.1);
Tailwind
colors: {
custom: {
50: '#735da8',
500: '#2f1f83',
950: '#000000',
},
}SCSS
$custom: #2f1f83; $custom-light: #735da8; $custom-dark: #000000;
JSON
{
"hex": "#2f1f83",
"rgb": {
"r": 47,
"g": 31,
"b": 131
},
"hsl": {
"h": 249.6,
"s": 61.728,
"l": 31.765
},
"oklch": {
"l": 0.33456,
"c": 0.15676,
"h": 281.1
},
"luminance": 0.03223
}Semantic roles & 50–950 ramp
primary
#2F1F83
secondary
#A4B648
accent
#E543CB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F