Nerdulator> put something in

Recognised as Colour

#342F91

  • #342F91
  • Blue
  • Dark
  • Nearest: Midnight blue

#342F91 is a blue with RGB values 52, 47, 145 and HSL 243°, 51%, 38%. It is a dark colour, so white text on it reaches 10.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#342F91#342F91
HEX#342F91
RGBrgb(52, 47, 145)
RGB (0–1)0.2039, 0.1843, 0.5686
RGB percentages20.4%, 18.4%, 56.9%
HSLhsl(243.1, 51%, 37.6%)
HSV / HSBhsv(243.1, 67.6%, 56.9%)
CMYK64.1%, 67.6%, 0%, 43.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,420,049
CSS custom property--colour: #342F91;

Brightness & contrast

Relative luminance0.04807WCAG 2.x, 0 is black and 1 is white
Perceived brightness67.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.71:1
Contrast with white10.71:1WCAG normal text: AAA
Contrast with black1.96:1WCAG normal text: Fail
Greyscale equivalent#373737
Inverted#CBD06E

Colour vision & accessibility

Protanopia#004294no red cones; affects about 1% of men; ΔE 17.4 from the original
Deuteranopia#003A8Fno green cones; the most common form, about 1% of men; ΔE 13.4 from the original
Tritanopia#00485Cno blue cones; rare, and affects men and women equally; ΔE 57.4 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text10.71:1WCAG large text: AAA
Contrast with black, large text1.96:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 11.09, a distinctly different colour
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#8C912F
Analogous#2F5B91, #652F91
Triadic#91342F, #2F9134
Split complementary#91652F, #5B912F
Tetradic#912F5B, #8C912F, #2F9165

Tints, shades & saturation

Lighter +40%#ACA9E3
Lighter +30%#8782D7
Lighter +20%#625CCA
Lighter +10%#423BB8
Darker −10%#26236A
Darker −20%#181644
Darker −30%#0B0A1D
Darker −40%#000000
More saturated +25%#1E17A9
Less saturated −25%#4A4779

Channel breakdown

R52
G47
B145
Red52 (20.4%)
Green47 (18.4%)
Blue145 (56.9%)
Hue243.06°
Saturation (HSL)51.04%
Lightness37.65%
Dominant channelBlue
Hex per channelR 34 · G 2F · B 91

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “342f91” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.