#2C1D9F#2C1D9F
#2C1D9F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.0% C 0.194 H 275.7°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1D9F |
|---|---|
| RGB | rgb(44, 29, 159) |
| HSL | hsl(247, 69%, 37%) |
| HSV | hsv(247, 82%, 62%) |
| CMYK | cmyk(72.3%, 81.8%, 0%, 37.6%) |
| CIE-LAB | lab(23.39, 46.86, -66.62) |
| CIE-LCH | lch(23.39, 81.45, 305.13°) |
| OKLab | oklab(36.04% 0.0193 -0.1926) |
| OKLCH | oklch(36.04% 0.194 275.7) |
| XYZ | xyz(7.7340, 3.9167, 33.1426) |
| Luminance | 0.0392 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.01
Royal
#0C1793
ΔE00 3.15
Cobalt Blue
#030AA7
ΔE00 3.45
Royal Blue (survey)
#0504AA
ΔE00 3.87
Ultramarine
#2000B1
ΔE00 3.90
True Blue
#010FCC
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1D9F #909F1D
analogous
#1D4F9F #2C1D9F #6D1D9F
triadic
#2C1D9F #9F2C1D #1D9F2C
tetradic
#2C1D9F #9F1D4F #909F1D #1D9F6D
square
#2C1D9F #9F1D4F #909F1D #1D9F6D
split-complementary
#2C1D9F #9F6D1D #4F9F1D
monochromatic
#0F0A37 #1E146B #2C1D9F #3A26D3 #6656E0
Accessibility & contrast
On white
11.78
#2C1D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2C1D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1D9F
11.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1D9F | 1.00 | 11.78 | 1.78 | 11.78 |
| #FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00329D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2c1d9f; /* rgb */ color: rgb(44, 29, 159); /* oklch */ color: oklch(36.0% 0.194 275.7);
Tailwind
colors: {
custom: {
50: '#785dbd',
500: '#2c1d9f',
950: '#000000',
},
}SCSS
$custom: #2c1d9f; $custom-light: #785dbd; $custom-dark: #000000;
JSON
{
"hex": "#2c1d9f",
"rgb": {
"r": 44,
"g": 29,
"b": 159
},
"hsl": {
"h": 246.923,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.36043,
"c": 0.19354,
"h": 275.7
},
"luminance": 0.03917
}Semantic roles & 50–950 ramp
primary
#2C1D9F
secondary
#B7C454
accent
#EC3CD8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981