#2C5FAF

A medium, moderate blue closely aligning with Darkslateblue.

About #2C5FAF

At its core, #2C5FAF is a medium and moderate hue. Its closest recognized web color is Darkslateblue. In the RGB color space, it consists of 44 red, 95 green, and 175 blue.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 75% Cyan, 46% Magenta, 0% Yellow, and 31% Black. This makes it a relatively light color when applied to physical surfaces.

Contrast ratios determine whether this color is safe for typography. The calculated luminance score dictates that #FFFFFF typography is the safest choice. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#2C5FAF
RGB44, 95, 175
HSL216.6°, 59.8%, 42.9%
CMYK75%, 46%, 0%, 31%
HSV216.6°, 74.9%, 68.6%
LAB40.9, 11.4, -47.6
XYZ12.9, 11.8, 42.2
Decimal2908079

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

6.24:1
Text on #FFFFFF
AA
3.36:1
Text on #000000
AA Large
5.97:1
Text on #F8FAFC
AA
2.86:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #2C5FAF; }
.text-color { color: #2C5FAF; }
.border-color { border: 2px solid #2C5FAF; }

Similar Colors

Darkslateblue
#483D8B