#2F1C9B#2F1C9B
#2F1C9B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.7% C 0.189 H 277.6°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1C9B |
|---|---|
| RGB | rgb(47, 28, 155) |
| HSL | hsl(249, 69%, 36%) |
| HSV | hsv(249, 82%, 61%) |
| CMYK | cmyk(69.7%, 81.9%, 0%, 39.2%) |
| CIE-LAB | lab(23.00, 46.37, -64.81) |
| CIE-LCH | lch(23.00, 79.69, 305.58°) |
| OKLab | oklab(35.7% 0.0251 -0.1872) |
| OKLCH | oklch(35.7% 0.189 277.6) |
| XYZ | xyz(7.5020, 3.8007, 31.3423) |
| Luminance | 0.0380 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.08
Indigo Blue
#3A18B1
ΔE00 3.31
Cobalt Blue
#030AA7
ΔE00 3.64
Royal Blue (survey)
#0504AA
ΔE00 4.04
Ultramarine
#2000B1
ΔE00 4.11
Indigo (survey)
#380282
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1C9B #889B1C
analogous
#1C499B #2F1C9B #6E1C9B
triadic
#2F1C9B #9B2F1C #1C9B2F
tetradic
#2F1C9B #9B1C49 #889B1C #1C9B6E
square
#2F1C9B #9B1C49 #889B1C #1C9B6E
split-complementary
#2F1C9B #9B6E1C #499B1C
monochromatic
#100933 #1F1367 #2F1C9B #3F25CF #6752E0
Accessibility & contrast
On white
11.93
#2F1C9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#2F1C9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1C9B
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1C9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1C9B | 1.00 | 11.93 | 1.76 | 11.93 |
| #FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9E
Deuteranopia (green-blind)
#003299
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2f1c9b; /* rgb */ color: rgb(47, 28, 155); /* oklch */ color: oklch(35.7% 0.189 277.6);
Tailwind
colors: {
custom: {
50: '#795dba',
500: '#2f1c9b',
950: '#000000',
},
}SCSS
$custom: #2f1c9b; $custom-light: #795dba; $custom-dark: #000000;
JSON
{
"hex": "#2f1c9b",
"rgb": {
"r": 47,
"g": 28,
"b": 155
},
"hsl": {
"h": 248.976,
"s": 69.399,
"l": 35.882
},
"oklch": {
"l": 0.35695,
"c": 0.18893,
"h": 277.6
},
"luminance": 0.03801
}Semantic roles & 50–950 ramp
primary
#2F1C9B
secondary
#B1C350
accent
#EC3CD2
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0412
muted
#7C7981