#305F7B color

#305F7B rgb(48, 95, 123)
Shades of blue

The hex color #305F7B is a dark, desaturated azure.

In the RGB color model it is made of 18.8% red, 37.3% green and 48.2% blue (48, 95, 123).

Its hue angle is 202°, with 44% saturation and 34% lightness. For print, the CMYK equivalent is 61% cyan, 23% magenta, 0% yellow and 52% black.

The closest named color is Nautical Creatures (#295C7A), a difference of 1.3 ΔE, which is barely visible.

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

#305F7B color codes

HEX#305F7B
RGBrgb(48, 95, 123)
RGB percentrgb(18.8%, 37.3%, 48.2%)
HSLhsl(202, 44%, 34%)
HSV / HSBhsv(202, 61%, 48%)
CMYKcmyk(61%, 23%, 0%, 52%)
CIE LABlab(38.27, -7.02, -20.57)
CIE LCHlch(38.27, 21.74, 251.17)
CIE XYZxyz(8.885, 10.242, 20.244)
Decimal3170171
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #305F7B, 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 #305F7BRatioAAAAAAA large
Sample text3.05:1FailFailPass
Sample text6.89:1PassFailPass
#305F7B as text onRatioAAAAAAA large
Sample text6.89:1PassFailPass
Sample text3.05:1FailFailPass

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

CSS examples

.background { background-color: #305f7b; }
.text { color: #305f7b; }
.border { border: 2px solid #305f7b; }
.transparent { background-color: rgb(48 95 123 / 50%); }
.gradient { background: linear-gradient(to right, #305f7b, #303a7b); }
Background
Text color
Border

Similar colors

Closest common color name: Cerulean.

Questions

What color is #305F7B?
#305F7B is a dark, desaturated azure, closest to the named color Nautical Creatures. It belongs to the blue family of colors.
What is the RGB value of #305F7B?
The RGB value is 48, 95, 123: 48 red, 95 green and 123 blue on a 0 to 255 scale.
What is the complementary color of #305F7B?
The complementary color is #7B4C30, found by rotating the hue 180° on the color wheel.
Is black or white text better on #305F7B?
White text. Black text has a contrast ratio of 3.05:1 and white text 6.89:1. WCAG asks for at least 4.5:1 for normal text.