Recognised as Colour
#342C51
- #342C51
- Blue
- Dark
- Nearest: Dark slateblue
#342C51 is a blue with RGB values 52, 44, 81 and HSL 253°, 30%, 25%. It is a dark colour, so white text on it reaches 12.9:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#342C51#342C51
HEX#342C51
RGBrgb(52, 44, 81)
RGB (0–1)0.2039, 0.1725, 0.3176
RGB percentages20.4%, 17.3%, 31.8%
HSLhsl(253, 29.6%, 24.5%)
HSV / HSBhsv(253, 45.7%, 31.8%)
CMYK35.8%, 45.7%, 0%, 68.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,419,217
CSS custom property--colour: #342C51;
Brightness & contrast
Relative luminance0.03126WCAG 2.x, 0 is black and 1 is white
Perceived brightness51.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.92:1
Contrast with white12.92:1WCAG normal text: AAA
Contrast with black1.63:1WCAG normal text: Fail
Greyscale equivalent#303030
Inverted#CBD3AE
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12.92:1WCAG large text: AAA
Contrast with black, large text1.63:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#49512C
Analogous#2C3751, #462C51
Triadic#51342C, #2C5134
Split complementary#51462C, #37512C
Tetradic#512C37, #49512C, #2C5146
Tints, shades & saturation
Channel breakdown
R52
G44
B81
Red52 (20.4%)
Green44 (17.3%)
Blue81 (31.8%)
Hue252.97°
Saturation (HSL)29.6%
Lightness24.51%
Dominant channelBlue
Hex per channelR 34 · G 2C · B 51
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page