#2C2483#2C2483
#2C2483 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.152 H 278.3°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2483 |
|---|---|
| RGB | rgb(44, 36, 131) |
| HSL | hsl(245, 57%, 33%) |
| HSV | hsv(245, 73%, 51%) |
| CMYK | cmyk(66.4%, 72.5%, 0%, 48.6%) |
| CIE-LAB | lab(21.71, 33.91, -52.03) |
| CIE-LCH | lch(21.71, 62.11, 303.09°) |
| OKLab | oklab(33.96% 0.022 -0.1502) |
| OKLCH | oklch(33.96% 0.152 278.3) |
| XYZ | xyz(5.7650, 3.4355, 21.8276) |
| Luminance | 0.0344 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.09
Royal
#0C1793
ΔE00 4.42
Indigo (survey)
#380282
ΔE00 6.40
Cobalt Blue
#030AA7
ΔE00 7.01
Darkblue
#00008B
ΔE00 7.11
Indigo Blue
#3A18B1
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2483 #7B8324
analogous
#244B83 #2C2483 #5C2483
triadic
#2C2483 #832C24 #24832C
tetradic
#2C2483 #83244B #7B8324 #24835C
square
#2C2483 #83244B #7B8324 #24835C
split-complementary
#2C2483 #835C24 #4B8324
monochromatic
#0C0A23 #1C1753 #2C2483 #3C31B3 #5D52CF
Accessibility & contrast
On white
12.45
#2C2483 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2C2483 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2483
12.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2483 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2483 | 1.00 | 12.45 | 1.69 | 12.45 |
| #FFFFFF | 12.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003081
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2c2483; /* rgb */ color: rgb(44, 36, 131); /* oklch */ color: oklch(34.0% 0.152 278.3);
Tailwind
colors: {
custom: {
50: '#7160a8',
500: '#2c2483',
950: '#000000',
},
}SCSS
$custom: #2c2483; $custom-light: #7160a8; $custom-dark: #000000;
JSON
{
"hex": "#2c2483",
"rgb": {
"r": 44,
"g": 36,
"b": 131
},
"hsl": {
"h": 245.053,
"s": 56.886,
"l": 32.745
},
"oklch": {
"l": 0.33957,
"c": 0.15178,
"h": 278.3
},
"luminance": 0.03436
}Semantic roles & 50–950 ramp
primary
#2C2483
secondary
#ABB34F
accent
#E048D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F