#2C1E9F#2C1E9F
#2C1E9F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.2% C 0.193 H 275.6°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1E9F |
|---|---|
| RGB | rgb(44, 30, 159) |
| HSL | hsl(247, 68%, 37%) |
| HSV | hsv(247, 81%, 62%) |
| CMYK | cmyk(72.3%, 81.1%, 0%, 37.6%) |
| CIE-LAB | lab(23.56, 46.38, -66.34) |
| CIE-LCH | lch(23.56, 80.94, 304.96°) |
| OKLab | oklab(36.16% 0.0189 -0.1918) |
| OKLCH | oklch(36.16% 0.193 275.6) |
| XYZ | xyz(7.7589, 3.9665, 33.1509) |
| Luminance | 0.0397 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.06
Royal
#0C1793
ΔE00 3.22
Cobalt Blue
#030AA7
ΔE00 3.60
Royal Blue (survey)
#0504AA
ΔE00 4.02
Ultramarine
#2000B1
ΔE00 4.06
True Blue
#010FCC
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1E9F #919F1E
analogous
#1E509F #2C1E9F #6D1E9F
triadic
#2C1E9F #9F2C1E #1E9F2C
tetradic
#2C1E9F #9F1E50 #919F1E #1E9F6D
square
#2C1E9F #9F1E50 #919F1E #1E9F6D
split-complementary
#2C1E9F #9F6D1E #509F1E
monochromatic
#100B38 #1E146C #2C1E9F #3A28D2 #6758DF
Accessibility & contrast
On white
11.71
#2C1E9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2C1E9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1E9F
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1E9F | 1.00 | 11.71 | 1.79 | 11.71 |
| #FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00329D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2c1e9f; /* rgb */ color: rgb(44, 30, 159); /* oklch */ color: oklch(36.2% 0.193 275.6);
Tailwind
colors: {
custom: {
50: '#785ebd',
500: '#2c1e9f',
950: '#000000',
},
}SCSS
$custom: #2c1e9f; $custom-light: #785ebd; $custom-dark: #000000;
JSON
{
"hex": "#2c1e9f",
"rgb": {
"r": 44,
"g": 30,
"b": 159
},
"hsl": {
"h": 246.512,
"s": 68.254,
"l": 37.059
},
"oklch": {
"l": 0.36158,
"c": 0.19272,
"h": 275.6
},
"luminance": 0.03967
}Semantic roles & 50–950 ramp
primary
#2C1E9F
secondary
#B7C356
accent
#EB3DD8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981