#2F1C92#2F1C92
#2F1C92 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.7% C 0.178 H 279.0°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1C92 |
|---|---|
| RGB | rgb(47, 28, 146) |
| HSL | hsl(250, 68%, 34%) |
| HSV | hsv(250, 81%, 57%) |
| CMYK | cmyk(67.8%, 80.8%, 0%, 42.7%) |
| CIE-LAB | lab(21.98, 43.60, -60.95) |
| CIE-LCH | lch(21.98, 74.94, 305.58°) |
| OKLab | oklab(34.69% 0.0278 -0.176) |
| OKLCH | oklch(34.69% 0.178 279) |
| XYZ | xyz(6.7742, 3.5096, 27.5090) |
| Luminance | 0.0351 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.82
Cobalt Blue
#030AA7
ΔE00 4.28
Indigo Blue
#3A18B1
ΔE00 4.51
Indigo (survey)
#380282
ΔE00 4.72
Royal Blue (survey)
#0504AA
ΔE00 4.72
Ultramarine
#2000B1
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1C92 #7F921C
analogous
#1C4492 #2F1C92 #6A1C92
triadic
#2F1C92 #922F1C #1C922F
tetradic
#2F1C92 #921C44 #7F921C #1C926A
square
#2F1C92 #921C44 #7F921C #1C926A
split-complementary
#2F1C92 #926A1C #44921C
monochromatic
#0E082B #1E125F #2F1C92 #4026C5 #634CDD
Accessibility & contrast
On white
12.34
#2F1C92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#2F1C92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1C92
12.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1C92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1C92 | 1.00 | 12.34 | 1.70 | 12.34 |
| #FFFFFF | 12.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003995
Deuteranopia (green-blind)
#003090
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2f1c92; /* rgb */ color: rgb(47, 28, 146); /* oklch */ color: oklch(34.7% 0.178 279.0);
Tailwind
colors: {
custom: {
50: '#775cb3',
500: '#2f1c92',
950: '#000000',
},
}SCSS
$custom: #2f1c92; $custom-light: #775cb3; $custom-dark: #000000;
JSON
{
"hex": "#2f1c92",
"rgb": {
"r": 47,
"g": 28,
"b": 146
},
"hsl": {
"h": 249.661,
"s": 67.816,
"l": 34.118
},
"oklch": {
"l": 0.34685,
"c": 0.17821,
"h": 279
},
"luminance": 0.0351
}Semantic roles & 50–950 ramp
primary
#2F1C92
secondary
#ACBF4B
accent
#EB3DCF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980