#2F1CA0#2F1CA0
#2F1CA0 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.3% C 0.195 H 277.0°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1CA0 |
|---|---|
| RGB | rgb(47, 28, 160) |
| HSL | hsl(249, 70%, 37%) |
| HSV | hsv(249, 83%, 63%) |
| CMYK | cmyk(70.6%, 82.5%, 0%, 37.3%) |
| CIE-LAB | lab(23.58, 47.89, -66.91) |
| CIE-LCH | lch(23.58, 82.28, 305.59°) |
| OKLab | oklab(36.26% 0.0237 -0.1933) |
| OKLCH | oklch(36.26% 0.195 277) |
| XYZ | xyz(7.9306, 3.9722, 33.5997) |
| Luminance | 0.0397 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.69
Royal
#0C1793
ΔE00 3.43
Cobalt Blue
#030AA7
ΔE00 3.46
Ultramarine
#2000B1
ΔE00 3.72
Royal Blue (survey)
#0504AA
ΔE00 3.82
True Blue
#010FCC
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1CA0 #8DA01C
analogous
#1C4BA0 #2F1CA0 #711CA0
triadic
#2F1CA0 #A02F1C #1CA02F
tetradic
#2F1CA0 #A01C4B #8DA01C #1CA071
square
#2F1CA0 #A01C4B #8DA01C #1CA071
split-complementary
#2F1CA0 #A0711C #4BA01C
monochromatic
#100A38 #20136C #2F1CA0 #3E25D4 #6955E1
Accessibility & contrast
On white
11.70
#2F1CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2F1CA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1CA0
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1CA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1CA0 | 1.00 | 11.70 | 1.79 | 11.70 |
| #FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00329E
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2f1ca0; /* rgb */ color: rgb(47, 28, 160); /* oklch */ color: oklch(36.3% 0.195 277.0);
Tailwind
colors: {
custom: {
50: '#7a5dbd',
500: '#2f1ca0',
950: '#000000',
},
}SCSS
$custom: #2f1ca0; $custom-light: #7a5dbd; $custom-dark: #000000;
JSON
{
"hex": "#2f1ca0",
"rgb": {
"r": 47,
"g": 28,
"b": 160
},
"hsl": {
"h": 248.636,
"s": 70.213,
"l": 36.863
},
"oklch": {
"l": 0.36264,
"c": 0.19479,
"h": 277
},
"luminance": 0.03973
}Semantic roles & 50–950 ramp
primary
#2F1CA0
secondary
#B4C453
accent
#ED3BD3
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981