#334E95 color
The hex color #334E95 is a desaturated blue.
In the RGB color model it is made of 20% red, 30.6% green and 58.4% blue (51, 78, 149).
Its hue angle is 223°, with 49% saturation and 39% lightness. For print, the CMYK equivalent is 66% cyan, 48% magenta, 0% yellow and 42% black.
The closest named color is Nightly Activities (#2E5090), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.88:1).
#334E95 color codes
| HEX | #334E95 | |
|---|---|---|
| RGB | rgb(51, 78, 149) | |
| RGB percent | rgb(20%, 30.6%, 58.4%) | |
| HSL | hsl(223, 49%, 39%) | |
| HSV / HSB | hsv(223, 66%, 58%) | |
| CMYK | cmyk(66%, 48%, 0%, 42%) | |
| CIE LAB | lab(34.64, 13.85, -42.15) | |
| CIE LCH | lch(34.64, 44.36, 288.19) | |
| CIE XYZ | xyz(9.513, 8.322, 29.533) | |
| Decimal | 3362453 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #334E95, 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 #334E95 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.66:1 | Fail | Fail | Fail |
| Sample text | 7.88:1 | Pass | Pass | Pass |
| #334E95 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.88:1 | Pass | Pass | Pass |
| Sample text | 2.66: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 #334E95 looks to people with the most common types of color vision deficiency.
#2b5698Protanopia
no red cones#184d94Deuteranopia
no green cones#005e6aTritanopia
no blue cones#515151Achromatopsia
no color vision
CSS examples
.background { background-color: #334e95; }
.text { color: #334e95; }
.border { border: 2px solid #334e95; }
.transparent { background-color: rgb(51 78 149 / 50%); }
.gradient { background: linear-gradient(to right, #334e95, #493395); }
Similar colors
#2e5090Nightly Activities#244e94Le Grand Bleu#234893Cascade Twilight#25488aPacific Navy#1e488fNuit Blanche#2d4f83Assassin#1c4d8fDancing Sea#335588Glimpse of Void
Closest common color name: Cobalt Blue.
Questions
- What color is #334E95?
- #334E95 is a desaturated blue, closest to the named color Nightly Activities. It belongs to the blue family of colors.
- What is the RGB value of #334E95?
- The RGB value is 51, 78, 149: 51 red, 78 green and 149 blue on a 0 to 255 scale.
- What is the complementary color of #334E95?
- The complementary color is #957A33, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #334E95?
- White text. Black text has a contrast ratio of 2.66:1 and white text 7.88:1. WCAG asks for at least 4.5:1 for normal text.