#2F1C9A#2F1C9A
#2F1C9A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.6% C 0.188 H 277.8°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1C9A |
|---|---|
| RGB | rgb(47, 28, 154) |
| HSL | hsl(249, 69%, 36%) |
| HSV | hsv(249, 82%, 60%) |
| CMYK | cmyk(69.5%, 81.8%, 0%, 39.6%) |
| CIE-LAB | lab(22.89, 46.06, -64.39) |
| CIE-LCH | lch(22.89, 79.17, 305.58°) |
| OKLab | oklab(35.58% 0.0254 -0.186) |
| OKLCH | oklch(35.58% 0.188 277.8) |
| XYZ | xyz(7.4184, 3.7673, 30.9018) |
| Luminance | 0.0377 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.02
Indigo Blue
#3A18B1
ΔE00 3.44
Cobalt Blue
#030AA7
ΔE00 3.69
Royal Blue (survey)
#0504AA
ΔE00 4.10
Ultramarine
#2000B1
ΔE00 4.20
Indigo (survey)
#380282
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1C9A #879A1C
analogous
#1C489A #2F1C9A #6E1C9A
triadic
#2F1C9A #9A2F1C #1C9A2F
tetradic
#2F1C9A #9A1C48 #879A1C #1C9A6E
square
#2F1C9A #9A1C48 #879A1C #1C9A6E
split-complementary
#2F1C9A #9A6E1C #489A1C
monochromatic
#0F0932 #1F1366 #2F1C9A #3F25CE #6651DF
Accessibility & contrast
On white
11.98
#2F1C9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#2F1C9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1C9A
11.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1C9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1C9A | 1.00 | 11.98 | 1.75 | 11.98 |
| #FFFFFF | 11.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B9D
Deuteranopia (green-blind)
#003198
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2f1c9a; /* rgb */ color: rgb(47, 28, 154); /* oklch */ color: oklch(35.6% 0.188 277.8);
Tailwind
colors: {
custom: {
50: '#785db9',
500: '#2f1c9a',
950: '#000000',
},
}SCSS
$custom: #2f1c9a; $custom-light: #785db9; $custom-dark: #000000;
JSON
{
"hex": "#2f1c9a",
"rgb": {
"r": 47,
"g": 28,
"b": 154
},
"hsl": {
"h": 249.048,
"s": 69.231,
"l": 35.686
},
"oklch": {
"l": 0.35582,
"c": 0.18775,
"h": 277.8
},
"luminance": 0.03768
}Semantic roles & 50–950 ramp
primary
#2F1C9A
secondary
#B1C250
accent
#EC3CD1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0412
muted
#7C7981