#333AF8

A medium, vivid blue closely aligning with Mediumblue.

About #333AF8

The hex code #333AF8 represents a beautifully specific shade of blue. It is closely associated with the named CSS color Mediumblue. In the RGB color space, it consists of 51 red, 58 green, and 248 blue.

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

Ensuring your text is legible against this background is a key part of web design. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.

Color Space Conversions

HEX#333AF8
RGB51, 58, 248
HSL237.9°, 93.4%, 58.6%
CMYK79%, 77%, 0%, 3%
HSV237.9°, 79.4%, 97.3%
LAB38.7, 60.6, -93.2
XYZ19.8, 10.5, 89.8
Decimal3357432

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

6.77:1
Text on #FFFFFF
AA
3.10:1
Text on #000000
AA Large
6.47:1
Text on #F8FAFC
AA
2.64:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Mediumblue
#0000CD