#2C1C98#2C1C98
#2C1C98 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.1% C 0.186 H 276.7°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1C98 |
|---|---|
| RGB | rgb(44, 28, 152) |
| HSL | hsl(248, 69%, 35%) |
| HSV | hsv(248, 82%, 60%) |
| CMYK | cmyk(71.1%, 81.6%, 0%, 40.4%) |
| CIE-LAB | lab(22.42, 45.18, -63.94) |
| CIE-LCH | lch(22.42, 78.30, 305.24°) |
| OKLab | oklab(35.13% 0.0217 -0.1848) |
| OKLCH | oklch(35.13% 0.186 276.7) |
| XYZ | xyz(7.1196, 3.6323, 30.0256) |
| Luminance | 0.0363 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.63
Cobalt Blue
#030AA7
ΔE00 3.64
Indigo Blue
#3A18B1
ΔE00 3.84
Royal Blue (survey)
#0504AA
ΔE00 4.10
Ultramarine
#2000B1
ΔE00 4.37
Indigo (survey)
#380282
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1C98 #88981C
analogous
#1C4A98 #2C1C98 #6A1C98
triadic
#2C1C98 #982C1C #1C982C
tetradic
#2C1C98 #981C4A #88981C #1C986A
square
#2C1C98 #981C4A #88981C #1C986A
split-complementary
#2C1C98 #986A1C #4A981C
monochromatic
#0E0931 #1D1264 #2C1C98 #3B26CC #6250DF
Accessibility & contrast
On white
12.16
#2C1C98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#2C1C98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1C98
12.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1C98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1C98 | 1.00 | 12.16 | 1.73 | 12.16 |
| #FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B9B
Deuteranopia (green-blind)
#003096
Tritanopia (blue-blind)
#00425B
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2c1c98; /* rgb */ color: rgb(44, 28, 152); /* oklch */ color: oklch(35.1% 0.186 276.7);
Tailwind
colors: {
custom: {
50: '#775cb8',
500: '#2c1c98',
950: '#000000',
},
}SCSS
$custom: #2c1c98; $custom-light: #775cb8; $custom-dark: #000000;
JSON
{
"hex": "#2c1c98",
"rgb": {
"r": 44,
"g": 28,
"b": 152
},
"hsl": {
"h": 247.742,
"s": 68.889,
"l": 35.294
},
"oklch": {
"l": 0.35128,
"c": 0.18607,
"h": 276.7
},
"luminance": 0.03633
}Semantic roles & 50–950 ramp
primary
#2C1C98
secondary
#B3C14E
accent
#EC3CD5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980