#2C1E98#2C1E98
#2C1E98 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.4% C 0.184 H 276.5°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1E98 |
|---|---|
| RGB | rgb(44, 30, 152) |
| HSL | hsl(247, 67%, 36%) |
| HSV | hsv(247, 80%, 60%) |
| CMYK | cmyk(71.1%, 80.3%, 0%, 40.4%) |
| CIE-LAB | lab(22.76, 44.19, -63.38) |
| CIE-LCH | lch(22.76, 77.26, 304.88°) |
| OKLab | oklab(35.37% 0.0208 -0.1832) |
| OKLCH | oklch(35.37% 0.184 276.5) |
| XYZ | xyz(7.1686, 3.7304, 30.0419) |
| Luminance | 0.0373 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.76
Indigo Blue
#3A18B1
ΔE00 3.92
Cobalt Blue
#030AA7
ΔE00 3.92
Royal Blue (survey)
#0504AA
ΔE00 4.40
Ultramarine
#2000B1
ΔE00 4.65
Indigo (survey)
#380282
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1E98 #8A981E
analogous
#1E4D98 #2C1E98 #691E98
triadic
#2C1E98 #982C1E #1E982C
tetradic
#2C1E98 #981E4D #8A981E #1E9869
square
#2C1E98 #981E4D #8A981E #1E9869
split-complementary
#2C1E98 #98691E #4D981E
monochromatic
#0E0A32 #1D1465 #2C1E98 #3B28CB #6353DD
Accessibility & contrast
On white
12.03
#2C1E98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#2C1E98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1E98
12.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1E98 | 1.00 | 12.03 | 1.75 | 12.03 |
| #FFFFFF | 12.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B9B
Deuteranopia (green-blind)
#003196
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2c1e98; /* rgb */ color: rgb(44, 30, 152); /* oklch */ color: oklch(35.4% 0.184 276.5);
Tailwind
colors: {
custom: {
50: '#775db8',
500: '#2c1e98',
950: '#000000',
},
}SCSS
$custom: #2c1e98; $custom-light: #775db8; $custom-dark: #000000;
JSON
{
"hex": "#2c1e98",
"rgb": {
"r": 44,
"g": 30,
"b": 152
},
"hsl": {
"h": 246.885,
"s": 67.033,
"l": 35.686
},
"oklch": {
"l": 0.35366,
"c": 0.18435,
"h": 276.5
},
"luminance": 0.03731
}Semantic roles & 50–950 ramp
primary
#2C1E98
secondary
#B4C051
accent
#EA3ED6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980