#2C1F93#2C1F93
#2C1F93 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.177 H 277.0°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1F93 |
|---|---|
| RGB | rgb(44, 31, 147) |
| HSL | hsl(247, 65%, 35%) |
| HSV | hsv(247, 79%, 58%) |
| CMYK | cmyk(70.1%, 78.9%, 0%, 42.4%) |
| CIE-LAB | lab(22.38, 42.08, -60.92) |
| CIE-LCH | lch(22.38, 74.04, 304.63°) |
| OKLab | oklab(34.93% 0.0216 -0.1761) |
| OKLCH | oklch(34.93% 0.177 277) |
| XYZ | xyz(6.7934, 3.6214, 27.9391) |
| Luminance | 0.0362 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.74
Cobalt Blue
#030AA7
ΔE00 4.44
Indigo Blue
#3A18B1
ΔE00 4.62
Royal Blue (survey)
#0504AA
ΔE00 4.95
Ultramarine
#2000B1
ΔE00 5.31
Indigo (survey)
#380282
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1F93 #86931F
analogous
#1F4C93 #2C1F93 #661F93
triadic
#2C1F93 #932C1F #1F932C
tetradic
#2C1F93 #931F4C #86931F #1F9366
square
#2C1F93 #931F4C #86931F #1F9366
split-complementary
#2C1F93 #93661F #4C931F
monochromatic
#0E0A2E #1D1460 #2C1F93 #3B2AC6 #6152DA
Accessibility & contrast
On white
12.18
#2C1F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#2C1F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1F93
12.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1F93 | 1.00 | 12.18 | 1.72 | 12.18 |
| #FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A96
Deuteranopia (green-blind)
#003091
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2c1f93; /* rgb */ color: rgb(44, 31, 147); /* oklch */ color: oklch(34.9% 0.177 277.0);
Tailwind
colors: {
custom: {
50: '#755eb4',
500: '#2c1f93',
950: '#000000',
},
}SCSS
$custom: #2c1f93; $custom-light: #755eb4; $custom-dark: #000000;
JSON
{
"hex": "#2c1f93",
"rgb": {
"r": 44,
"g": 31,
"b": 147
},
"hsl": {
"h": 246.724,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.34934,
"c": 0.17738,
"h": 277
},
"luminance": 0.03622
}Semantic roles & 50–950 ramp
primary
#2C1F93
secondary
#B1BE50
accent
#E840D5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980