#2C1E83#2C1E83
#2C1E83 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.158 H 279.5°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1E83 |
|---|---|
| RGB | rgb(44, 30, 131) |
| HSL | hsl(248, 63%, 32%) |
| HSV | hsv(248, 77%, 51%) |
| CMYK | cmyk(66.4%, 77.1%, 0%, 48.6%) |
| CIE-LAB | lab(20.45, 37.43, -54.11) |
| CIE-LCH | lch(20.45, 65.80, 304.68°) |
| OKLab | oklab(33.06% 0.0263 -0.1562) |
| OKLCH | oklch(33.06% 0.158 279.5) |
| XYZ | xyz(5.5984, 3.1023, 21.7721) |
| Luminance | 0.0310 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.62
Midnight Blue
#191970
ΔE00 3.71
Indigo (survey)
#380282
ΔE00 4.89
Darkblue
#00008B
ΔE00 5.77
Navy
#000080
ΔE00 6.00
Cobalt Blue
#030AA7
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1E83 #75831E
analogous
#1E4383 #2C1E83 #5F1E83
triadic
#2C1E83 #832C1E #1E832C
tetradic
#2C1E83 #831E43 #75831E #1E835F
square
#2C1E83 #831E43 #75831E #1E835F
split-complementary
#2C1E83 #835F1E #43831E
monochromatic
#0B071F #1B1351 #2C1E83 #3D29B5 #5A47D5
Accessibility & contrast
On white
12.96
#2C1E83 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#2C1E83 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1E83
12.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1E83 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1E83 | 1.00 | 12.96 | 1.62 | 12.96 |
| #FFFFFF | 12.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003586
Deuteranopia (green-blind)
#002D81
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2c1e83; /* rgb */ color: rgb(44, 30, 131); /* oklch */ color: oklch(33.1% 0.158 279.5);
Tailwind
colors: {
custom: {
50: '#725ca8',
500: '#2c1e83',
950: '#000000',
},
}SCSS
$custom: #2c1e83; $custom-light: #725ca8; $custom-dark: #000000;
JSON
{
"hex": "#2c1e83",
"rgb": {
"r": 44,
"g": 30,
"b": 131
},
"hsl": {
"h": 248.317,
"s": 62.733,
"l": 31.569
},
"oklch": {
"l": 0.33061,
"c": 0.15839,
"h": 279.5
},
"luminance": 0.03103
}Semantic roles & 50–950 ramp
primary
#2C1E83
secondary
#A7B647
accent
#E642CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F