#2C3799#2C3799
#2C3799 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.159 H 271.9°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3799 |
|---|---|
| RGB | rgb(44, 55, 153) |
| HSL | hsl(234, 55%, 39%) |
| HSV | hsv(234, 71%, 60%) |
| CMYK | cmyk(71.2%, 64.1%, 0%, 40%) |
| CIE-LAB | lab(28.29, 29.59, -54.89) |
| CIE-LCH | lch(28.29, 62.36, 298.33°) |
| OKLab | oklab(39.37% 0.0053 -0.1585) |
| OKLCH | oklch(39.37% 0.159 271.9) |
| XYZ | xyz(8.1527, 5.5670, 30.7757) |
| Luminance | 0.0557 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.65
Blueberry
#464196
ΔE00 4.51
Darkslateblue
#483D8B
ΔE00 5.44
Ocean Blue
#4F42B5
ΔE00 6.72
Blue Blue
#2242C7
ΔE00 6.82
Cobalt
#0047AB
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3799 #998E2C
analogous
#2C6D99 #2C3799 #572C99
triadic
#2C3799 #992C37 #37992C
tetradic
#2C3799 #992C6D #998E2C #2C9957
square
#2C3799 #992C6D #998E2C #2C9957
split-complementary
#2C3799 #99572C #6D992C
monochromatic
#11153A #1E2669 #2C3799 #3B49C7 #6B76D4
Accessibility & contrast
On white
9.94
#2C3799 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#2C3799 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3799
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3799 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3799 | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2c3799; /* rgb */ color: rgb(44, 55, 153); /* oklch */ color: oklch(39.4% 0.159 271.9);
Tailwind
colors: {
custom: {
50: '#756eb8',
500: '#2c3799',
950: '#000000',
},
}SCSS
$custom: #2c3799; $custom-light: #756eb8; $custom-dark: #000000;
JSON
{
"hex": "#2c3799",
"rgb": {
"r": 44,
"g": 55,
"b": 153
},
"hsl": {
"h": 233.945,
"s": 55.33,
"l": 38.627
},
"oklch": {
"l": 0.39365,
"c": 0.15855,
"h": 271.9
},
"luminance": 0.05568
}Semantic roles & 50–950 ramp
primary
#2C3799
secondary
#BBB366
accent
#D049DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80