#2C2D82#2C2D82
#2C2D82 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.139 H 276.1°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2D82 |
|---|---|
| RGB | rgb(44, 45, 130) |
| HSL | hsl(239, 49%, 34%) |
| HSV | hsv(239, 66%, 51%) |
| CMYK | cmyk(66.2%, 65.4%, 0%, 49%) |
| CIE-LAB | lab(23.75, 27.81, -48.07) |
| CIE-LCH | lch(23.75, 55.53, 300.05°) |
| OKLab | oklab(35.4% 0.0148 -0.1385) |
| OKLCH | oklch(35.4% 0.139 276.1) |
| XYZ | xyz(6.0050, 4.0235, 21.5749) |
| Luminance | 0.0402 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.72
Darkslateblue
#483D8B
ΔE00 5.84
Royal
#0C1793
ΔE00 6.55
Blueberry
#464196
ΔE00 6.61
Sapphire (survey)
#2138AB
ΔE00 6.63
Marine
#042E60
ΔE00 8.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2D82 #82812C
analogous
#2C5882 #2C2D82 #562C82
triadic
#2C2D82 #822C2D #2D822C
tetradic
#2C2D82 #822C58 #82812C #2C8256
square
#2C2D82 #822C58 #82812C #2C8256
split-complementary
#2C2D82 #82562C #58822C
monochromatic
#0D0D27 #1D1D54 #2C2D82 #3B3DB0 #5F61C9
Accessibility & contrast
On white
11.64
#2C2D82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#2C2D82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2D82
11.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2D82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2D82 | 1.00 | 11.64 | 1.80 | 11.64 |
| #FFFFFF | 11.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003580
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2c2d82; /* rgb */ color: rgb(44, 45, 130); /* oklch */ color: oklch(35.4% 0.139 276.1);
Tailwind
colors: {
custom: {
50: '#7066a7',
500: '#2c2d82',
950: '#000000',
},
}SCSS
$custom: #2c2d82; $custom-light: #7066a7; $custom-dark: #000000;
JSON
{
"hex": "#2c2d82",
"rgb": {
"r": 44,
"g": 45,
"b": 130
},
"hsl": {
"h": 239.302,
"s": 49.425,
"l": 34.118
},
"oklch": {
"l": 0.35404,
"c": 0.13931,
"h": 276.1
},
"luminance": 0.04024
}Semantic roles & 50–950 ramp
primary
#2C2D82
secondary
#AFAE5B
accent
#D74FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F