#338AAF
A medium, moderate blue closely aligning with Steelblue.
About #338AAF
The hex code #338AAF represents a beautifully specific shade of blue. Designers often compare it to the standard color Steelblue. To achieve this exact tint on a monitor, you would use an RGB mix of 51, 138, and 175.
Translating this color to physical media requires the CMYK color model. The color uses 71% Cyan, 21% Magenta, 0% Yellow, and 31% Black. With a hue angle of 197.9 degrees, it sits comfortably in the blue spectrum.
Ensuring your text is legible against this background is a key part of web design. The calculated luminance score dictates that #000000 typography is the safest choice. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#338AAF
RGB51, 138, 175
HSL197.9°, 54.9%, 44.3%
CMYK71%, 21%, 0%, 31%
HSV197.9°, 70.9%, 68.6%
LAB54.0, -13.6, -27.0
XYZ18.2, 22.0, 43.8
Decimal3377839
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
3.89:1
Text on #FFFFFF
AA Large
5.40:1
Text on #000000
AA
3.72:1
Text on #F8FAFC
AA Large
4.59:1
Text on #0F172A
AA
CSS Implementation
.bg-color {
background-color: #338AAF;
}
.text-color {
color: #338AAF;
}
.border-color {
border: 2px solid #338AAF;
}