#335794 color
The hex color #335794 is a desaturated azure.
In the RGB color model it is made of 20% red, 34.1% green and 58% blue (51, 87, 148).
Its hue angle is 218°, with 49% saturation and 39% lightness. For print, the CMYK equivalent is 66% cyan, 41% magenta, 0% yellow and 42% black.
The closest named color is Glimpse of Void (#335588), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.16:1).
#335794 color codes
| HEX | #335794 | |
|---|---|---|
| RGB | rgb(51, 87, 148) | |
| RGB percent | rgb(20%, 34.1%, 58%) | |
| HSL | hsl(218, 49%, 39%) | |
| HSV / HSB | hsv(218, 66%, 58%) | |
| CMYK | cmyk(66%, 41%, 0%, 42%) | |
| CIE LAB | lab(37.22, 7.56, -37.42) | |
| CIE LCH | lch(37.22, 38.18, 281.42) | |
| CIE XYZ | xyz(10.117, 9.657, 29.342) | |
| Decimal | 3364756 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #335794, 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 #335794 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.93:1 | Fail | Fail | Fail |
| Sample text | 7.16:1 | Pass | Pass | Pass |
| #335794 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.16:1 | Pass | Pass | Pass |
| Sample text | 2.93: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 #335794 looks to people with the most common types of color vision deficiency.
#3c5c96Protanopia
no red cones#2d5393Deuteranopia
no green cones#00656eTritanopia
no blue cones#585858Achromatopsia
no color vision
CSS examples
.background { background-color: #335794; }
.text { color: #335794; }
.border { border: 2px solid #335794; }
.transparent { background-color: rgb(51 87 148 / 50%); }
.gradient { background: linear-gradient(to right, #335794, #403394); }
Similar colors
#335588Glimpse of Void#225599Fist of the North Star#2e5090Nightly Activities#1d5699Blue Chip#2d5284Galaxy Blue#244e94Le Grand Bleu#2d4f83Assassin#234e86Night Mode
Closest common color name: Sapphire.
Questions
- What color is #335794?
- #335794 is a desaturated azure, closest to the named color Glimpse of Void. It belongs to the blue family of colors.
- What is the RGB value of #335794?
- The RGB value is 51, 87, 148: 51 red, 87 green and 148 blue on a 0 to 255 scale.
- What is the complementary color of #335794?
- The complementary color is #947033, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #335794?
- White text. Black text has a contrast ratio of 2.93:1 and white text 7.16:1. WCAG asks for at least 4.5:1 for normal text.