#2C3997#2C3997
#2C3997 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.153 H 271.4°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3997 |
|---|---|
| RGB | rgb(44, 57, 151) |
| HSL | hsl(233, 55%, 38%) |
| HSV | hsv(233, 71%, 59%) |
| CMYK | cmyk(70.9%, 62.3%, 0%, 40.8%) |
| CIE-LAB | lab(28.63, 27.53, -53.11) |
| CIE-LCH | lch(28.63, 59.83, 297.40°) |
| OKLab | oklab(39.56% 0.0038 -0.1532) |
| OKLCH | oklch(39.56% 0.153 271.4) |
| XYZ | xyz(8.0859, 5.6953, 29.9453) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.98
Blueberry
#464196
ΔE00 4.27
Darkslateblue
#483D8B
ΔE00 5.29
Cobalt
#0047AB
ΔE00 6.36
Cobalt (survey)
#1E488F
ΔE00 6.81
Ocean Blue
#4F42B5
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3997 #978A2C
analogous
#2C6E97 #2C3997 #542C97
triadic
#2C3997 #972C39 #39972C
tetradic
#2C3997 #972C6E #978A2C #2C9754
square
#2C3997 #972C6E #978A2C #2C9754
split-complementary
#2C3997 #97542C #6E972C
monochromatic
#101538 #1E2768 #2C3997 #3A4BC6 #6A77D4
Accessibility & contrast
On white
9.82
#2C3997 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2C3997 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3997
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3997 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3997 | 1.00 | 9.82 | 2.14 | 9.82 |
| #FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2c3997; /* rgb */ color: rgb(44, 57, 151); /* oklch */ color: oklch(39.6% 0.153 271.4);
Tailwind
colors: {
custom: {
50: '#746fb6',
500: '#2c3997',
950: '#000000',
},
}SCSS
$custom: #2c3997; $custom-light: #746fb6; $custom-dark: #000000;
JSON
{
"hex": "#2c3997",
"rgb": {
"r": 44,
"g": 57,
"b": 151
},
"hsl": {
"h": 232.71,
"s": 54.872,
"l": 38.235
},
"oklch": {
"l": 0.39561,
"c": 0.15329,
"h": 271.4
},
"luminance": 0.05696
}Semantic roles & 50–950 ramp
primary
#2C3997
secondary
#BAB065
accent
#CC4ADE
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80