#334257 color

#334257 rgb(51, 66, 87)
Shades of blue

The hex color #334257 is a dark, desaturated azure.

In the RGB color model it is made of 20% red, 25.9% green and 34.1% blue (51, 66, 87).

Its hue angle is 215°, with 26% saturation and 27% lightness. For print, the CMYK equivalent is 41% cyan, 24% magenta, 0% yellow and 66% black.

The closest named color is Pi (#314159), a difference of 1.3 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 10.21:1).

#334257 color codes

HEX#334257
RGBrgb(51, 66, 87)
RGB percentrgb(20%, 25.9%, 34.1%)
HSLhsl(215, 26%, 27%)
HSV / HSBhsv(215, 41%, 34%)
CMYKcmyk(41%, 24%, 0%, 66%)
CIE LABlab(27.54, 0.09, -14.47)
CIE LCHlch(27.54, 14.47, 270.35)
CIE XYZxyz(5.033, 5.288, 9.77)
Decimal3359319
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #334257, 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 #334257RatioAAAAAAA large
Sample text2.06:1FailFailFail
Sample text10.21:1PassPassPass
#334257 as text onRatioAAAAAAA large
Sample text10.21:1PassPassPass
Sample text2.06:1FailFailFail

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 #334257 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #334257; }
.text { color: #334257; }
.border { border: 2px solid #334257; }
.transparent { background-color: rgb(51 66 87 / 50%); }
.gradient { background: linear-gradient(to right, #334257, #363357); }
Background
Text color
Border

Similar colors

Closest common color name: Charcoal.

Questions

What color is #334257?
#334257 is a dark, desaturated azure, closest to the named color Pi. It belongs to the blue family of colors.
What is the RGB value of #334257?
The RGB value is 51, 66, 87: 51 red, 66 green and 87 blue on a 0 to 255 scale.
What is the complementary color of #334257?
The complementary color is #574833, found by rotating the hue 180° on the color wheel.
Is black or white text better on #334257?
White text. Black text has a contrast ratio of 2.06:1 and white text 10.21:1. WCAG asks for at least 4.5:1 for normal text.