Nerdulator> put something in

Recognised as Colour

#342B81

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

#342B81 is a blue with RGB values 52, 43, 129 and HSL 246°, 50%, 34%. It is a dark colour, so white text on it reaches 11.6:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#342B81#342B81
HEX#342B81
RGBrgb(52, 43, 129)
RGB (0–1)0.2039, 0.1686, 0.5059
RGB percentages20.4%, 16.9%, 50.6%
HSLhsl(246.3, 50%, 33.7%)
HSV / HSBhsv(246.3, 66.7%, 50.6%)
CMYK59.7%, 66.7%, 0%, 49.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,419,009
CSS custom property--colour: #342B81;

Brightness & contrast

Relative luminance0.04043WCAG 2.x, 0 is black and 1 is white
Perceived brightness61.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.61:1
Contrast with white11.61:1WCAG normal text: AAA
Contrast with black1.81:1WCAG normal text: Fail
Greyscale equivalent#333333
Inverted#CBD47E

Colour vision & accessibility

Protanopia#003C84no red cones; affects about 1% of men; ΔE 16.8 from the original
Deuteranopia#00367Fno green cones; the most common form, about 1% of men; ΔE 14.4 from the original
Tritanopia#074152no blue cones; rare, and affects men and women equally; ΔE 51.9 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text11.61:1WCAG large text: AAA
Contrast with black, large text1.81:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 8.42, clearly different but related
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#78812B
Analogous#2B4D81, #5F2B81
Triadic#81342B, #2B8134
Split complementary#815F2B, #4D812B
Tetradic#812B4D, #78812B, #2B815F

Tints, shades & saturation

Lighter +40%#A29BDE
Lighter +30%#7E74D1
Lighter +20%#5A4EC4
Lighter +10%#4338A7
Darker −10%#251E5B
Darker −20%#151235
Darker −30%#06050E
Darker −40%#000000
More saturated +25%#231697
Less saturated −25%#45416C

Channel breakdown

R52
G43
B129
Red52 (20.4%)
Green43 (16.9%)
Blue129 (50.6%)
Hue246.28°
Saturation (HSL)50%
Lightness33.73%
Dominant channelBlue
Hex per channelR 34 · G 2B · B 81

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 “342b81” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.