Recognised as Colour
#342D81
- #342D81
- Blue
- Dark
- Nearest: Dark slateblue
#342D81 is a blue with RGB values 52, 45, 129 and HSL 245°, 48%, 34%. It is a dark colour, so white text on it reaches 11.4:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#342D81#342D81
HEX#342D81
RGBrgb(52, 45, 129)
RGB (0–1)0.2039, 0.1765, 0.5059
RGB percentages20.4%, 17.6%, 50.6%
HSLhsl(245, 48.3%, 34.1%)
HSV / HSBhsv(245, 65.1%, 50.6%)
CMYK59.7%, 65.1%, 0%, 49.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,419,521
CSS custom property--colour: #342D81;
Brightness & contrast
Relative luminance0.04192WCAG 2.x, 0 is black and 1 is white
Perceived brightness62.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.42:1
Contrast with white11.42:1WCAG normal text: AAA
Contrast with black1.84:1WCAG normal text: Fail
Greyscale equivalent#353535
Inverted#CBD27E
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text11.42:1WCAG large text: AAA
Contrast with black, large text1.84:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7A812D
Analogous#2D5081, #5E2D81
Triadic#81342D, #2D8134
Split complementary#815E2D, #50812D
Tetradic#812D50, #7A812D, #2D815E
Tints, shades & saturation
Channel breakdown
R52
G45
B129
Red52 (20.4%)
Green45 (17.6%)
Blue129 (50.6%)
Hue245°
Saturation (HSL)48.28%
Lightness34.12%
Dominant channelBlue
Hex per channelR 34 · G 2D · B 81
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