#304A57 color
The hex color #304A57 is a dark, desaturated azure.
In the RGB color model it is made of 18.8% red, 29% green and 34.1% blue (48, 74, 87).
Its hue angle is 200°, with 29% saturation and 26% lightness. For print, the CMYK equivalent is 45% cyan, 15% magenta, 0% yellow and 66% black.
The closest named color is Nocturne (#344D58), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.36:1).
#304A57 color codes
| HEX | #304A57 | |
|---|---|---|
| RGB | rgb(48, 74, 87) | |
| RGB percent | rgb(18.8%, 29%, 34.1%) | |
| HSL | hsl(200, 29%, 26%) | |
| HSV / HSB | hsv(200, 45%, 34%) | |
| CMYK | cmyk(45%, 15%, 0%, 66%) | |
| CIE LAB | lab(29.95, -5.97, -10.81) | |
| CIE LCH | lch(29.95, 12.35, 241.07) | |
| CIE XYZ | xyz(5.387, 6.214, 9.93) | |
| Decimal | 3164759 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #304A57, 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 #304A57 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.24:1 | Fail | Fail | Fail |
| Sample text | 9.36:1 | Pass | Pass | Pass |
| #304A57 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.36:1 | Pass | Pass | Pass |
| Sample text | 2.24:1 | Fail | Fail | Fail |
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 #304A57 looks to people with the most common types of color vision deficiency.
#444958Protanopia
no red cones#3e4557Deuteranopia
no green cones#204e4eTritanopia
no blue cones#474747Achromatopsia
no color vision
CSS examples
.background { background-color: #304a57; }
.text { color: #304a57; }
.border { border: 2px solid #304a57; }
.transparent { background-color: rgb(48 74 87 / 50%); }
.gradient { background: linear-gradient(to right, #304a57, #303657); }
Similar colors
#344d58Nocturne#254855Mallard#37525fMoonlit Sonata#2a4f61Shadow of Night#36454fCharcoal#253f4eDepths of the Nile#3e5361Dark Secret#29465bOne Year of Rain
Questions
- What color is #304A57?
- #304A57 is a dark, desaturated azure, closest to the named color Nocturne. It belongs to the gray family of colors.
- What is the RGB value of #304A57?
- The RGB value is 48, 74, 87: 48 red, 74 green and 87 blue on a 0 to 255 scale.
- What is the complementary color of #304A57?
- The complementary color is #573D30, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #304A57?
- White text. Black text has a contrast ratio of 2.24:1 and white text 9.36:1. WCAG asks for at least 4.5:1 for normal text.