#2C1E79#2C1E79
#2C1E79 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.145 H 281.3°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1E79 |
|---|---|
| RGB | rgb(44, 30, 121) |
| HSL | hsl(249, 60%, 30%) |
| HSV | hsv(249, 75%, 47%) |
| CMYK | cmyk(63.6%, 75.2%, 0%, 52.5%) |
| CIE-LAB | lab(19.41, 34.14, -49.47) |
| CIE-LCH | lch(19.41, 60.11, 304.61°) |
| OKLab | oklab(32.01% 0.0286 -0.1426) |
| OKLCH | oklch(32.01% 0.145 281.3) |
| XYZ | xyz(4.9531, 2.8441, 18.3734) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.76
Royal
#0C1793
ΔE00 4.94
Indigo (survey)
#380282
ΔE00 5.32
Dark Royal Blue
#02066F
ΔE00 5.88
Deep Blue
#040273
ΔE00 6.21
Navy
#000080
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1E79 #6B791E
analogous
#1E3D79 #2C1E79 #5A1E79
triadic
#2C1E79 #792C1E #1E792C
tetradic
#2C1E79 #791E3D #6B791E #1E795A
square
#2C1E79 #791E3D #6B791E #1E795A
split-complementary
#2C1E79 #795A1E #3D791E
monochromatic
#090619 #1A1248 #2C1E79 #3E2AAA #5741D0
Accessibility & contrast
On white
13.39
#2C1E79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#2C1E79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1E79
13.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1E79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1E79 | 1.00 | 13.39 | 1.57 | 13.39 |
| #FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002C77
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2c1e79; /* rgb */ color: rgb(44, 30, 121); /* oklch */ color: oklch(32.0% 0.145 281.3);
Tailwind
colors: {
custom: {
50: '#705ca1',
500: '#2c1e79',
950: '#000000',
},
}SCSS
$custom: #2c1e79; $custom-light: #705ca1; $custom-dark: #000000;
JSON
{
"hex": "#2c1e79",
"rgb": {
"r": 44,
"g": 30,
"b": 121
},
"hsl": {
"h": 249.231,
"s": 60.265,
"l": 29.608
},
"oklch": {
"l": 0.32011,
"c": 0.14548,
"h": 281.3
},
"luminance": 0.02844
}Semantic roles & 50–950 ramp
primary
#2C1E79
secondary
#9DAD46
accent
#E344CB
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F