#34344D color
The hex color #34344D is a dark, grayish blue.
In the RGB color model it is made of 20.4% red, 20.4% green and 30.2% blue (52, 52, 77).
Its hue angle is 240°, with 19% saturation and 25% lightness. For print, the CMYK equivalent is 32% cyan, 32% magenta, 0% yellow and 70% black.
The closest named color is Midnight Masquerade (#2C2E47), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.04:1).
#34344D color codes
| HEX | #34344D | |
|---|---|---|
| RGB | rgb(52, 52, 77) | |
| RGB percent | rgb(20.4%, 20.4%, 30.2%) | |
| HSL | hsl(240, 19%, 25%) | |
| HSV / HSB | hsv(240, 32%, 30%) | |
| CMYK | cmyk(32%, 32%, 0%, 70%) | |
| CIE LAB | lab(22.73, 6.74, -15.31) | |
| CIE LCH | lch(22.73, 16.73, 293.76) | |
| CIE XYZ | xyz(3.983, 3.722, 7.528) | |
| Decimal | 3421261 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #34344D, 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 #34344D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.74:1 | Fail | Fail | Fail |
| Sample text | 12.04:1 | Pass | Pass | Pass |
| #34344D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.04:1 | Pass | Pass | Pass |
| Sample text | 1.74: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 #34344D looks to people with the most common types of color vision deficiency.
#2d374eProtanopia
no red cones#2c354cDeuteranopia
no green cones#2e383dTritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #34344d; }
.text { color: #34344d; }
.border { border: 2px solid #34344d; }
.transparent { background-color: rgb(52 52 77 / 50%); }
.gradient { background: linear-gradient(to right, #34344d, #41344d); }
Similar colors
#2c2e47Midnight Masquerade#333344Shuriken#3f354fMaharaja#2e3858Mediaeval Blue#2b3458Midnight Escapade#42364cCall It a Night#3d3d63Storm Is Coming#403547Royal Decree
Closest common color name: Oxford Blue.
Questions
- What color is #34344D?
- #34344D is a dark, grayish blue, closest to the named color Midnight Masquerade. It belongs to the blue family of colors.
- What is the RGB value of #34344D?
- The RGB value is 52, 52, 77: 52 red, 52 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #34344D?
- The complementary color is #4D4D34, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #34344D?
- White text. Black text has a contrast ratio of 1.74:1 and white text 12.04:1. WCAG asks for at least 4.5:1 for normal text.