#2F1C90#2F1C90
#2F1C90 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.5% C 0.176 H 279.3°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1C90 |
|---|---|
| RGB | rgb(47, 28, 144) |
| HSL | hsl(250, 67%, 34%) |
| HSV | hsv(250, 81%, 56%) |
| CMYK | cmyk(67.4%, 80.6%, 0%, 43.5%) |
| CIE-LAB | lab(21.76, 42.98, -60.08) |
| CIE-LCH | lch(21.76, 73.87, 305.58°) |
| OKLab | oklab(34.46% 0.0284 -0.1735) |
| OKLCH | oklch(34.46% 0.176 279.3) |
| XYZ | xyz(6.6200, 3.4479, 26.6968) |
| Luminance | 0.0345 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.85
Cobalt Blue
#030AA7
ΔE00 4.47
Indigo (survey)
#380282
ΔE00 4.60
Indigo Blue
#3A18B1
ΔE00 4.79
Royal Blue (survey)
#0504AA
ΔE00 4.92
Ultramarine
#2000B1
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1C90 #7D901C
analogous
#1C4390 #2F1C90 #691C90
triadic
#2F1C90 #902F1C #1C902F
tetradic
#2F1C90 #901C43 #7D901C #1C9069
square
#2F1C90 #901C43 #7D901C #1C9069
split-complementary
#2F1C90 #90691C #43901C
monochromatic
#0E082A #1E125D #2F1C90 #4026C3 #624ADC
Accessibility & contrast
On white
12.43
#2F1C90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2F1C90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1C90
12.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1C90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1C90 | 1.00 | 12.43 | 1.69 | 12.43 |
| #FFFFFF | 12.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#00308E
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2f1c90; /* rgb */ color: rgb(47, 28, 144); /* oklch */ color: oklch(34.5% 0.176 279.3);
Tailwind
colors: {
custom: {
50: '#765cb2',
500: '#2f1c90',
950: '#000000',
},
}SCSS
$custom: #2f1c90; $custom-light: #765cb2; $custom-dark: #000000;
JSON
{
"hex": "#2f1c90",
"rgb": {
"r": 47,
"g": 28,
"b": 144
},
"hsl": {
"h": 249.828,
"s": 67.442,
"l": 33.725
},
"oklch": {
"l": 0.34463,
"c": 0.17581,
"h": 279.3
},
"luminance": 0.03448
}Semantic roles & 50–950 ramp
primary
#2F1C90
secondary
#ABBE4A
accent
#EA3DCE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980