#2C2180#2C2180
#2C2180 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.151 H 279.5°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2180 |
|---|---|
| RGB | rgb(44, 33, 128) |
| HSL | hsl(247, 59%, 32%) |
| HSV | hsv(247, 74%, 50%) |
| CMYK | cmyk(65.6%, 74.2%, 0%, 49.8%) |
| CIE-LAB | lab(20.76, 34.70, -51.71) |
| CIE-LCH | lch(20.76, 62.27, 303.87°) |
| OKLab | oklab(33.18% 0.0248 -0.1492) |
| OKLCH | oklch(33.18% 0.151 279.5) |
| XYZ | xyz(5.4776, 3.1813, 20.7433) |
| Luminance | 0.0318 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.50
Royal
#0C1793
ΔE00 4.31
Indigo (survey)
#380282
ΔE00 5.71
Darkblue
#00008B
ΔE00 6.58
Dark Royal Blue
#02066F
ΔE00 6.59
Navy
#000080
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2180 #758021
analogous
#214680 #2C2180 #5C2180
triadic
#2C2180 #802C21 #21802C
tetradic
#2C2180 #802146 #758021 #21805C
square
#2C2180 #802146 #758021 #21805C
split-complementary
#2C2180 #805C21 #468021
monochromatic
#0B081F #1B144F #2C2180 #3D2EB1 #5A4BD1
Accessibility & contrast
On white
12.83
#2C2180 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#2C2180 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2180
12.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2180 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2180 | 1.00 | 12.83 | 1.64 | 12.83 |
| #FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#002E7E
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #2c2180; /* rgb */ color: rgb(44, 33, 128); /* oklch */ color: oklch(33.2% 0.151 279.5);
Tailwind
colors: {
custom: {
50: '#715ea6',
500: '#2c2180',
950: '#000000',
},
}SCSS
$custom: #2c2180; $custom-light: #715ea6; $custom-dark: #000000;
JSON
{
"hex": "#2c2180",
"rgb": {
"r": 44,
"g": 33,
"b": 128
},
"hsl": {
"h": 246.947,
"s": 59.006,
"l": 31.569
},
"oklch": {
"l": 0.33185,
"c": 0.15125,
"h": 279.5
},
"luminance": 0.03182
}Semantic roles & 50–950 ramp
primary
#2C2180
secondary
#A7B34A
accent
#E246D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F