#2C3998#2C3998
#2C3998 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.155 H 271.4°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3998 |
|---|---|
| RGB | rgb(44, 57, 152) |
| HSL | hsl(233, 55%, 38%) |
| HSV | hsv(233, 71%, 60%) |
| CMYK | cmyk(71.1%, 62.5%, 0%, 40.4%) |
| CIE-LAB | lab(28.72, 27.90, -53.59) |
| CIE-LCH | lch(28.72, 60.42, 297.51°) |
| OKLab | oklab(39.65% 0.0038 -0.1546) |
| OKLCH | oklch(39.65% 0.155 271.4) |
| XYZ | xyz(8.1674, 5.7279, 30.3748) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.83
Blueberry
#464196
ΔE00 4.28
Darkslateblue
#483D8B
ΔE00 5.34
Cobalt
#0047AB
ΔE00 6.32
Blue Blue
#2242C7
ΔE00 6.74
Ocean Blue
#4F42B5
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3998 #988B2C
analogous
#2C6F98 #2C3998 #552C98
triadic
#2C3998 #982C39 #39982C
tetradic
#2C3998 #982C6F #988B2C #2C9855
square
#2C3998 #982C6F #988B2C #2C9855
split-complementary
#2C3998 #98552C #6F982C
monochromatic
#111539 #1E2769 #2C3998 #3B4CC6 #6A77D4
Accessibility & contrast
On white
9.79
#2C3998 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2C3998 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3998
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3998 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3998 | 1.00 | 9.79 | 2.15 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499B
Deuteranopia (green-blind)
#003F96
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2c3998; /* rgb */ color: rgb(44, 57, 152); /* oklch */ color: oklch(39.6% 0.155 271.4);
Tailwind
colors: {
custom: {
50: '#746fb7',
500: '#2c3998',
950: '#000000',
},
}SCSS
$custom: #2c3998; $custom-light: #746fb7; $custom-dark: #000000;
JSON
{
"hex": "#2c3998",
"rgb": {
"r": 44,
"g": 57,
"b": 152
},
"hsl": {
"h": 232.778,
"s": 55.102,
"l": 38.431
},
"oklch": {
"l": 0.3965,
"c": 0.15468,
"h": 271.4
},
"luminance": 0.05729
}Semantic roles & 50–950 ramp
primary
#2C3998
secondary
#BBB065
accent
#CC49DE
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80