#338AB8 color

#338AB8 rgb(51, 138, 184)
Shades of blue

The hex color #338AB8 is a moderate azure.

In the RGB color model it is made of 20% red, 54.1% green and 72.2% blue (51, 138, 184).

Its hue angle is 201°, with 57% saturation and 46% lightness. For print, the CMYK equivalent is 72% cyan, 25% magenta, 0% yellow and 28% black.

The closest named color is Mermaid Dreams (#0088BB), a difference of 2 ΔE, a small difference.

Black text is the more readable choice on this background (contrast 5.47:1).

#338AB8 color codes

HEX#338AB8
RGBrgb(51, 138, 184)
RGB percentrgb(20%, 54.1%, 72.2%)
HSLhsl(201, 57%, 46%)
HSV / HSBhsv(201, 72%, 72%)
CMYKcmyk(72%, 25%, 0%, 28%)
CIE LABlab(54.39, -10.51, -31.54)
CIE LCHlch(54.39, 33.24, 251.57)
CIE XYZxyz(19.102, 22.339, 48.643)
Decimal3377848
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #338AB8, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #338AB8RatioAAAAAAA large
Sample text5.47:1PassFailPass
Sample text3.84:1FailFailPass
#338AB8 as text onRatioAAAAAAA large
Sample text3.84:1FailFailPass
Sample text5.47:1PassFailPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #338AB8 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #338ab8; }
.text { color: #338ab8; }
.border { border: 2px solid #338ab8; }
.transparent { background-color: rgb(51 138 184 / 50%); }
.gradient { background: linear-gradient(to right, #338ab8, #3348b8); }
Background
Text color
Border

Similar colors

Closest common color name: Steel Blue.

Questions

What color is #338AB8?
#338AB8 is a moderate azure, closest to the named color Mermaid Dreams. It belongs to the blue family of colors.
What is the RGB value of #338AB8?
The RGB value is 51, 138, 184: 51 red, 138 green and 184 blue on a 0 to 255 scale.
What is the complementary color of #338AB8?
The complementary color is #B86133, found by rotating the hue 180° on the color wheel.
Is black or white text better on #338AB8?
Black text. Black text has a contrast ratio of 5.47:1 and white text 3.84:1. WCAG asks for at least 4.5:1 for normal text.