#2C3384#2C3384
#2C3384 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.134 H 274.0°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3384 |
|---|---|
| RGB | rgb(44, 51, 132) |
| HSL | hsl(235, 50%, 35%) |
| HSV | hsv(235, 67%, 52%) |
| CMYK | cmyk(66.7%, 61.4%, 0%, 48.2%) |
| CIE-LAB | lab(25.47, 24.52, -46.52) |
| CIE-LCH | lch(25.47, 52.59, 297.80°) |
| OKLab | oklab(36.72% 0.0093 -0.1339) |
| OKLCH | oklch(36.72% 0.134 274) |
| XYZ | xyz(6.3860, 4.5685, 22.3706) |
| Luminance | 0.0457 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.11
Blueberry
#464196
ΔE00 5.51
Sapphire (survey)
#2138AB
ΔE00 5.89
Midnight Blue
#191970
ΔE00 7.42
Marine
#042E60
ΔE00 7.90
Royal
#0C1793
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3384 #847D2C
analogous
#2C5F84 #2C3384 #512C84
triadic
#2C3384 #842C33 #33842C
tetradic
#2C3384 #842C5F #847D2C #2C8451
square
#2C3384 #842C5F #847D2C #2C8451
split-complementary
#2C3384 #84512C #5F842C
monochromatic
#0D1028 #1D2156 #2C3384 #3B45B2 #6069CA
Accessibility & contrast
On white
10.97
#2C3384 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2C3384 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3384
10.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3384 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3384 | 1.00 | 10.97 | 1.91 | 10.97 |
| #FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2c3384; /* rgb */ color: rgb(44, 51, 132); /* oklch */ color: oklch(36.7% 0.134 274.0);
Tailwind
colors: {
custom: {
50: '#706aa8',
500: '#2c3384',
950: '#000000',
},
}SCSS
$custom: #2c3384; $custom-light: #706aa8; $custom-dark: #000000;
JSON
{
"hex": "#2c3384",
"rgb": {
"r": 44,
"g": 51,
"b": 132
},
"hsl": {
"h": 235.227,
"s": 50,
"l": 34.51
},
"oklch": {
"l": 0.36724,
"c": 0.13425,
"h": 274
},
"luminance": 0.04569
}Semantic roles & 50–950 ramp
primary
#2C3384
secondary
#B0AA5C
accent
#CE4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F