#2C1C99#2C1C99
#2C1C99 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.187 H 276.6°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1C99 |
|---|---|
| RGB | rgb(44, 28, 153) |
| HSL | hsl(248, 69%, 35%) |
| HSV | hsv(248, 82%, 60%) |
| CMYK | cmyk(71.2%, 81.7%, 0%, 40%) |
| CIE-LAB | lab(22.53, 45.49, -64.37) |
| CIE-LCH | lch(22.53, 78.82, 305.25°) |
| OKLab | oklab(35.24% 0.0214 -0.186) |
| OKLCH | oklch(35.24% 0.187 276.6) |
| XYZ | xyz(7.2019, 3.6652, 30.4587) |
| Luminance | 0.0367 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.68
Cobalt Blue
#030AA7
ΔE00 3.58
Indigo Blue
#3A18B1
ΔE00 3.71
Royal Blue (survey)
#0504AA
ΔE00 4.03
Ultramarine
#2000B1
ΔE00 4.27
Indigo (survey)
#380282
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1C99 #89991C
analogous
#1C4A99 #2C1C99 #6A1C99
triadic
#2C1C99 #992C1C #1C992C
tetradic
#2C1C99 #991C4A #89991C #1C996A
square
#2C1C99 #991C4A #89991C #1C996A
split-complementary
#2C1C99 #996A1C #4A991C
monochromatic
#0E0932 #1D1365 #2C1C99 #3B25CD #6350DF
Accessibility & contrast
On white
12.12
#2C1C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#2C1C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1C99
12.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1C99 | 1.00 | 12.12 | 1.73 | 12.12 |
| #FFFFFF | 12.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B9C
Deuteranopia (green-blind)
#003097
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2c1c99; /* rgb */ color: rgb(44, 28, 153); /* oklch */ color: oklch(35.2% 0.187 276.6);
Tailwind
colors: {
custom: {
50: '#775cb8',
500: '#2c1c99',
950: '#000000',
},
}SCSS
$custom: #2c1c99; $custom-light: #775cb8; $custom-dark: #000000;
JSON
{
"hex": "#2c1c99",
"rgb": {
"r": 44,
"g": 28,
"b": 153
},
"hsl": {
"h": 247.68,
"s": 69.061,
"l": 35.49
},
"oklch": {
"l": 0.35242,
"c": 0.18726,
"h": 276.6
},
"luminance": 0.03666
}Semantic roles & 50–950 ramp
primary
#2C1C99
secondary
#B3C24F
accent
#EC3CD5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981