#2C3899#2C3899
#2C3899 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.157 H 271.7°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3899 |
|---|---|
| RGB | rgb(44, 56, 153) |
| HSL | hsl(233, 55%, 39%) |
| HSV | hsv(233, 71%, 60%) |
| CMYK | cmyk(71.2%, 63.4%, 0%, 40%) |
| CIE-LAB | lab(28.55, 28.93, -54.47) |
| CIE-LCH | lch(28.55, 61.68, 297.97°) |
| OKLab | oklab(39.55% 0.0045 -0.1572) |
| OKLCH | oklch(39.55% 0.157 271.7) |
| XYZ | xyz(8.2007, 5.6629, 30.7917) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.65
Blueberry
#464196
ΔE00 4.39
Darkslateblue
#483D8B
ΔE00 5.41
Cobalt
#0047AB
ΔE00 6.56
Ocean Blue
#4F42B5
ΔE00 6.68
Blue Blue
#2242C7
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3899 #998D2C
analogous
#2C6E99 #2C3899 #562C99
triadic
#2C3899 #992C38 #38992C
tetradic
#2C3899 #992C6E #998D2C #2C9956
square
#2C3899 #992C6E #998D2C #2C9956
split-complementary
#2C3899 #99562C #6E992C
monochromatic
#11153A #1E2769 #2C3899 #3B4BC7 #6B77D4
Accessibility & contrast
On white
9.85
#2C3899 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#2C3899 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3899
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3899 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3899 | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2c3899; /* rgb */ color: rgb(44, 56, 153); /* oklch */ color: oklch(39.6% 0.157 271.7);
Tailwind
colors: {
custom: {
50: '#746eb8',
500: '#2c3899',
950: '#000000',
},
}SCSS
$custom: #2c3899; $custom-light: #746eb8; $custom-dark: #000000;
JSON
{
"hex": "#2c3899",
"rgb": {
"r": 44,
"g": 56,
"b": 153
},
"hsl": {
"h": 233.394,
"s": 55.33,
"l": 38.627
},
"oklch": {
"l": 0.39551,
"c": 0.15731,
"h": 271.7
},
"luminance": 0.05664
}Semantic roles & 50–950 ramp
primary
#2C3899
secondary
#BBB266
accent
#CE49DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80