#2C3986#2C3986
#2C3986 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.1% C 0.129 H 271.6°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3986 |
|---|---|
| RGB | rgb(44, 57, 134) |
| HSL | hsl(231, 51%, 35%) |
| HSV | hsv(231, 67%, 53%) |
| CMYK | cmyk(67.2%, 57.5%, 0%, 47.5%) |
| CIE-LAB | lab(27.25, 21.19, -44.87) |
| CIE-LCH | lch(27.25, 49.63, 295.28°) |
| OKLab | oklab(38.1% 0.0037 -0.129) |
| OKLCH | oklch(38.1% 0.129 271.6) |
| XYZ | xyz(6.8035, 5.1824, 23.1914) |
| Luminance | 0.0518 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.92
Darkslateblue
#483D8B
ΔE00 5.07
Sapphire (survey)
#2138AB
ΔE00 5.67
Cobalt (survey)
#1E488F
ΔE00 6.33
Darkish Blue
#014182
ΔE00 6.71
Cobalt
#0047AB
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3986 #86792C
analogous
#2C6686 #2C3986 #4C2C86
triadic
#2C3986 #862C39 #39862C
tetradic
#2C3986 #862C66 #86792C #2C864C
square
#2C3986 #862C66 #86792C #2C864C
split-complementary
#2C3986 #864C2C #66862C
monochromatic
#0E122A #1D2558 #2C3986 #3B4DB4 #6171CB
Accessibility & contrast
On white
10.31
#2C3986 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2C3986 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3986
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3986 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3986 | 1.00 | 10.31 | 2.04 | 10.31 |
| #FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#003C84
Tritanopia (blue-blind)
#004B59
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2c3986; /* rgb */ color: rgb(44, 57, 134); /* oklch */ color: oklch(38.1% 0.129 271.6);
Tailwind
colors: {
custom: {
50: '#706faa',
500: '#2c3986',
950: '#000000',
},
}SCSS
$custom: #2c3986; $custom-light: #706faa; $custom-dark: #000000;
JSON
{
"hex": "#2c3986",
"rgb": {
"r": 44,
"g": 57,
"b": 134
},
"hsl": {
"h": 231.333,
"s": 50.562,
"l": 34.902
},
"oklch": {
"l": 0.38099,
"c": 0.12908,
"h": 271.6
},
"luminance": 0.05183
}Semantic roles & 50–950 ramp
primary
#2C3986
secondary
#B1A55C
accent
#C64EDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F