#2C3182#2C3182
#2C3182 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.134 H 274.8°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3182 |
|---|---|
| RGB | rgb(44, 49, 130) |
| HSL | hsl(237, 49%, 34%) |
| HSV | hsv(237, 66%, 51%) |
| CMYK | cmyk(66.2%, 62.3%, 0%, 49%) |
| CIE-LAB | lab(24.78, 25.14, -46.39) |
| CIE-LCH | lch(24.78, 52.77, 298.45°) |
| OKLab | oklab(36.16% 0.0112 -0.1336) |
| OKLCH | oklch(36.16% 0.134 274.8) |
| XYZ | xyz(6.1650, 4.3433, 21.6282) |
| Luminance | 0.0434 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.31
Blueberry
#464196
ΔE00 5.91
Sapphire (survey)
#2138AB
ΔE00 6.29
Midnight Blue
#191970
ΔE00 6.80
Royal
#0C1793
ΔE00 7.65
Marine
#042E60
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3182 #827D2C
analogous
#2C5C82 #2C3182 #522C82
triadic
#2C3182 #822C31 #31822C
tetradic
#2C3182 #822C5C #827D2C #2C8252
square
#2C3182 #822C5C #827D2C #2C8252
split-complementary
#2C3182 #82522C #5C822C
monochromatic
#0D0F27 #1D2054 #2C3182 #3B42B0 #5F66C9
Accessibility & contrast
On white
11.24
#2C3182 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#2C3182 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3182
11.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3182 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3182 | 1.00 | 11.24 | 1.87 | 11.24 |
| #FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#003780
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2c3182; /* rgb */ color: rgb(44, 49, 130); /* oklch */ color: oklch(36.2% 0.134 274.8);
Tailwind
colors: {
custom: {
50: '#7069a7',
500: '#2c3182',
950: '#000000',
},
}SCSS
$custom: #2c3182; $custom-light: #7069a7; $custom-dark: #000000;
JSON
{
"hex": "#2c3182",
"rgb": {
"r": 44,
"g": 49,
"b": 130
},
"hsl": {
"h": 236.512,
"s": 49.425,
"l": 34.118
},
"oklch": {
"l": 0.36159,
"c": 0.13405,
"h": 274.8
},
"luminance": 0.04344
}Semantic roles & 50–950 ramp
primary
#2C3182
secondary
#AFAA5B
accent
#D14FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F