#2F1C8F#2F1C8F
#2F1C8F is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.4% C 0.175 H 279.5°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1C8F |
|---|---|
| RGB | rgb(47, 28, 143) |
| HSL | hsl(250, 67%, 34%) |
| HSV | hsv(250, 80%, 56%) |
| CMYK | cmyk(67.1%, 80.4%, 0%, 43.9%) |
| CIE-LAB | lab(21.64, 42.67, -59.65) |
| CIE-LCH | lch(21.64, 73.34, 305.58°) |
| OKLab | oklab(34.35% 0.0287 -0.1722) |
| OKLCH | oklch(34.35% 0.175 279.5) |
| XYZ | xyz(6.5439, 3.4175, 26.2961) |
| Luminance | 0.0342 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.88
Indigo (survey)
#380282
ΔE00 4.54
Cobalt Blue
#030AA7
ΔE00 4.57
Indigo Blue
#3A18B1
ΔE00 4.93
Royal Blue (survey)
#0504AA
ΔE00 5.02
Darkblue
#00008B
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1C8F #7C8F1C
analogous
#1C428F #2F1C8F #681C8F
triadic
#2F1C8F #8F2F1C #1C8F2F
tetradic
#2F1C8F #8F1C42 #7C8F1C #1C8F68
square
#2F1C8F #8F1C42 #7C8F1C #1C8F68
split-complementary
#2F1C8F #8F681C #428F1C
monochromatic
#0D0829 #1E125C #2F1C8F #4026C2 #624ADC
Accessibility & contrast
On white
12.47
#2F1C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#2F1C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1C8F
12.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1C8F | 1.00 | 12.47 | 1.68 | 12.47 |
| #FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003892
Deuteranopia (green-blind)
#002F8D
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2f1c8f; /* rgb */ color: rgb(47, 28, 143); /* oklch */ color: oklch(34.4% 0.175 279.5);
Tailwind
colors: {
custom: {
50: '#765cb1',
500: '#2f1c8f',
950: '#000000',
},
}SCSS
$custom: #2f1c8f; $custom-light: #765cb1; $custom-dark: #000000;
JSON
{
"hex": "#2f1c8f",
"rgb": {
"r": 47,
"g": 28,
"b": 143
},
"hsl": {
"h": 249.913,
"s": 67.251,
"l": 33.529
},
"oklch": {
"l": 0.34353,
"c": 0.1746,
"h": 279.5
},
"luminance": 0.03418
}Semantic roles & 50–950 ramp
primary
#2F1C8F
secondary
#AABE49
accent
#EA3ECE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980