Nerdulator> put something in

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

Protanopia#003F92no red cones; affects about 1% of men; ΔE 18 from the original
Deuteranopia#00388Dno green cones; the most common form, about 1% of men; ΔE 14.7 from the original
Tritanopia#004559no blue cones; rare, and affects men and women equally; ΔE 58.8 from the original
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

Nearest named CSS colourMidnight blue (#191970)ΔE 10.69, a distinctly different colour
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

Lighter +40%#A9A3E3
Lighter +30%#847CD7
Lighter +20%#5F54CC
Lighter +10%#4237B6
Darker −10%#261F68
Darker −20%#171341
Darker −30%#090819
Darker −40%#000000
More saturated +25%#2114A6
Less saturated −25%#474278

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.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

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