#2C2E82#2C2E82
#2C2E82 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.138 H 275.8°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2E82 |
|---|---|
| RGB | rgb(44, 46, 130) |
| HSL | hsl(239, 49%, 34%) |
| HSV | hsv(239, 66%, 51%) |
| CMYK | cmyk(66.2%, 64.6%, 0%, 49%) |
| CIE-LAB | lab(24.00, 27.15, -47.65) |
| CIE-LCH | lch(24.00, 54.84, 299.67°) |
| OKLab | oklab(35.59% 0.0139 -0.1373) |
| OKLCH | oklch(35.59% 0.138 275.8) |
| XYZ | xyz(6.0436, 4.1007, 21.5878) |
| Luminance | 0.0410 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.69
Midnight Blue
#191970
ΔE00 5.97
Blueberry
#464196
ΔE00 6.42
Sapphire (survey)
#2138AB
ΔE00 6.53
Royal
#0C1793
ΔE00 6.81
Marine
#042E60
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2E82 #82802C
analogous
#2C5982 #2C2E82 #552C82
triadic
#2C2E82 #822C2E #2E822C
tetradic
#2C2E82 #822C59 #82802C #2C8255
square
#2C2E82 #822C59 #82802C #2C8255
split-complementary
#2C2E82 #82552C #59822C
monochromatic
#0D0E27 #1D1E54 #2C2E82 #3B3EB0 #5F62C9
Accessibility & contrast
On white
11.54
#2C2E82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#2C2E82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2E82
11.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2E82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2E82 | 1.00 | 11.54 | 1.82 | 11.54 |
| #FFFFFF | 11.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#003580
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2c2e82; /* rgb */ color: rgb(44, 46, 130); /* oklch */ color: oklch(35.6% 0.138 275.8);
Tailwind
colors: {
custom: {
50: '#7067a7',
500: '#2c2e82',
950: '#000000',
},
}SCSS
$custom: #2c2e82; $custom-light: #7067a7; $custom-dark: #000000;
JSON
{
"hex": "#2c2e82",
"rgb": {
"r": 44,
"g": 46,
"b": 130
},
"hsl": {
"h": 238.605,
"s": 49.425,
"l": 34.118
},
"oklch": {
"l": 0.35589,
"c": 0.13801,
"h": 275.8
},
"luminance": 0.04101
}Semantic roles & 50–950 ramp
primary
#2C2E82
secondary
#AFAD5B
accent
#D64FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F