Recognised as Colour
#342B8F
- #342B8F
- Blue
- Dark
- Nearest: Midnight blue
#342B8F is a blue with RGB values 52, 43, 143 and HSL 245°, 54%, 36%. It is a dark colour, so white text on it reaches 11.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#342B8F#342B8F
HEX#342B8F
RGBrgb(52, 43, 143)
RGB (0–1)0.2039, 0.1686, 0.5608
RGB percentages20.4%, 16.9%, 56.1%
HSLhsl(245.4, 53.8%, 36.5%)
HSV / HSBhsv(245.4, 69.9%, 56.1%)
CMYK63.6%, 69.9%, 0%, 43.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,419,023
CSS custom property--colour: #342B8F;
Brightness & contrast
Relative luminance0.04441WCAG 2.x, 0 is black and 1 is white
Perceived brightness65 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.12:1
Contrast with white11.12:1WCAG normal text: AAA
Contrast with black1.89:1WCAG normal text: Fail
Greyscale equivalent#343434
Inverted#CBD470
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text11.12:1WCAG large text: AAA
Contrast with black, large text1.89:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#868F2B
Analogous#2B548F, #662B8F
Triadic#8F342B, #2B8F34
Split complementary#8F662B, #548F2B
Tetradic#8F2B54, #868F2B, #2B8F66
Tints, shades & saturation
Channel breakdown
R52
G43
B143
Red52 (20.4%)
Green43 (16.9%)
Blue143 (56.1%)
Hue245.4°
Saturation (HSL)53.76%
Lightness36.47%
Dominant channelBlue
Hex per channelR 34 · G 2B · B 8F
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