#2C1C7F#2C1C7F
#2C1C7F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.155 H 280.6°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1C7F |
|---|---|
| RGB | rgb(44, 28, 127) |
| HSL | hsl(250, 64%, 30%) |
| HSV | hsv(250, 78%, 50%) |
| CMYK | cmyk(65.4%, 78%, 0%, 50.2%) |
| CIE-LAB | lab(19.63, 37.24, -52.93) |
| CIE-LCH | lch(19.63, 64.72, 305.13°) |
| OKLab | oklab(32.36% 0.0286 -0.1527) |
| OKLCH | oklch(32.36% 0.155 280.6) |
| XYZ | xyz(5.2835, 2.8979, 20.3555) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.27
Royal
#0C1793
ΔE00 3.96
Indigo (survey)
#380282
ΔE00 4.54
Darkblue
#00008B
ΔE00 5.62
Dark Royal Blue
#02066F
ΔE00 5.68
Navy
#000080
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1C7F #6F7F1C
analogous
#1C3D7F #2C1C7F #5D1C7F
triadic
#2C1C7F #7F2C1C #1C7F2C
tetradic
#2C1C7F #7F1C3D #6F7F1C #1C7F5D
square
#2C1C7F #7F1C3D #6F7F1C #1C7F5D
split-complementary
#2C1C7F #7F5D1C #3D7F1C
monochromatic
#09061B #1B114D #2C1C7F #3D27B1 #5840D5
Accessibility & contrast
On white
13.29
#2C1C7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#2C1C7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1C7F
13.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1C7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1C7F | 1.00 | 13.29 | 1.58 | 13.29 |
| #FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2c1c7f; /* rgb */ color: rgb(44, 28, 127); /* oklch */ color: oklch(32.4% 0.155 280.6);
Tailwind
colors: {
custom: {
50: '#715ba5',
500: '#2c1c7f',
950: '#000000',
},
}SCSS
$custom: #2c1c7f; $custom-light: #715ba5; $custom-dark: #000000;
JSON
{
"hex": "#2c1c7f",
"rgb": {
"r": 44,
"g": 28,
"b": 127
},
"hsl": {
"h": 249.697,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.32357,
"c": 0.15539,
"h": 280.6
},
"luminance": 0.02898
}Semantic roles & 50–950 ramp
primary
#2C1C7F
secondary
#A1B344
accent
#E741CC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F