#2C1E9B#2C1E9B
#2C1E9B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.7% C 0.188 H 276.1°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1E9B |
|---|---|
| RGB | rgb(44, 30, 155) |
| HSL | hsl(247, 68%, 36%) |
| HSV | hsv(247, 81%, 61%) |
| CMYK | cmyk(71.6%, 80.6%, 0%, 39.2%) |
| CIE-LAB | lab(23.10, 45.13, -64.65) |
| CIE-LCH | lch(23.10, 78.85, 304.92°) |
| OKLab | oklab(35.7% 0.02 -0.1869) |
| OKLCH | oklch(35.7% 0.188 276.1) |
| XYZ | xyz(7.4174, 3.8299, 31.3523) |
| Luminance | 0.0383 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.92
Indigo Blue
#3A18B1
ΔE00 3.54
Cobalt Blue
#030AA7
ΔE00 3.75
Royal Blue (survey)
#0504AA
ΔE00 4.21
Ultramarine
#2000B1
ΔE00 4.37
Indigo (survey)
#380282
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1E9B #8D9B1E
analogous
#1E4F9B #2C1E9B #6B1E9B
triadic
#2C1E9B #9B2C1E #1E9B2C
tetradic
#2C1E9B #9B1E4F #8D9B1E #1E9B6B
square
#2C1E9B #9B1E4F #8D9B1E #1E9B6B
split-complementary
#2C1E9B #9B6B1E #4F9B1E
monochromatic
#0F0A34 #1D1468 #2C1E9B #3B28CE #6555DE
Accessibility & contrast
On white
11.89
#2C1E9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2C1E9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1E9B
11.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1E9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1E9B | 1.00 | 11.89 | 1.77 | 11.89 |
| #FFFFFF | 11.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9E
Deuteranopia (green-blind)
#003299
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2c1e9b; /* rgb */ color: rgb(44, 30, 155); /* oklch */ color: oklch(35.7% 0.188 276.1);
Tailwind
colors: {
custom: {
50: '#775eba',
500: '#2c1e9b',
950: '#000000',
},
}SCSS
$custom: #2c1e9b; $custom-light: #775eba; $custom-dark: #000000;
JSON
{
"hex": "#2c1e9b",
"rgb": {
"r": 44,
"g": 30,
"b": 155
},
"hsl": {
"h": 246.72,
"s": 67.568,
"l": 36.275
},
"oklch": {
"l": 0.35704,
"c": 0.18795,
"h": 276.1
},
"luminance": 0.03831
}Semantic roles & 50–950 ramp
primary
#2C1E9B
secondary
#B5C253
accent
#EA3DD7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981