#2F1CA1#2F1CA1
#2F1CA1 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.4% C 0.196 H 276.8°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1CA1 |
|---|---|
| RGB | rgb(47, 28, 161) |
| HSL | hsl(249, 70%, 37%) |
| HSV | hsv(249, 83%, 63%) |
| CMYK | cmyk(70.8%, 82.6%, 0%, 36.9%) |
| CIE-LAB | lab(23.70, 48.19, -67.33) |
| CIE-LCH | lch(23.70, 82.80, 305.59°) |
| OKLab | oklab(36.38% 0.0234 -0.1946) |
| OKLCH | oklch(36.38% 0.196 276.8) |
| XYZ | xyz(8.0185, 4.0073, 34.0622) |
| Luminance | 0.0401 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.57
Cobalt Blue
#030AA7
ΔE00 3.45
Royal
#0C1793
ΔE00 3.52
Ultramarine
#2000B1
ΔE00 3.65
Royal Blue (survey)
#0504AA
ΔE00 3.80
True Blue
#010FCC
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1CA1 #8EA11C
analogous
#1C4CA1 #2F1CA1 #711CA1
triadic
#2F1CA1 #A12F1C #1CA12F
tetradic
#2F1CA1 #A11C4C #8EA11C #1CA171
square
#2F1CA1 #A11C4C #8EA11C #1CA171
split-complementary
#2F1CA1 #A1711C #4CA11C
monochromatic
#110A39 #20136D #2F1CA1 #3E25D5 #6A56E2
Accessibility & contrast
On white
11.66
#2F1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#2F1CA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1CA1
11.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1CA1 | 1.00 | 11.66 | 1.80 | 11.66 |
| #FFFFFF | 11.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00339F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2f1ca1; /* rgb */ color: rgb(47, 28, 161); /* oklch */ color: oklch(36.4% 0.196 276.8);
Tailwind
colors: {
custom: {
50: '#7a5dbe',
500: '#2f1ca1',
950: '#000000',
},
}SCSS
$custom: #2f1ca1; $custom-light: #7a5dbe; $custom-dark: #000000;
JSON
{
"hex": "#2f1ca1",
"rgb": {
"r": 47,
"g": 28,
"b": 161
},
"hsl": {
"h": 248.571,
"s": 70.37,
"l": 37.059
},
"oklch": {
"l": 0.36378,
"c": 0.19596,
"h": 276.8
},
"luminance": 0.04008
}Semantic roles & 50–950 ramp
primary
#2F1CA1
secondary
#B5C554
accent
#ED3BD4
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981