Nerdulator> put something in

Recognised as Colour

#34218C

  • #34218C
  • Blue
  • Dark
  • Nearest: Midnight blue

#34218C is a blue with RGB values 52, 33, 140 and HSL 251°, 62%, 34%. It is a dark colour, so white text on it reaches 12.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#34218C#34218C
HEX#34218C
RGBrgb(52, 33, 140)
RGB (0–1)0.2039, 0.1294, 0.549
RGB percentages20.4%, 12.9%, 54.9%
HSLhsl(250.7, 61.8%, 33.9%)
HSV / HSBhsv(250.7, 76.4%, 54.9%)
CMYK62.9%, 76.4%, 0%, 45.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,416,460
CSS custom property--colour: #34218C;

Brightness & contrast

Relative luminance0.03711WCAG 2.x, 0 is black and 1 is white
Perceived brightness60.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.05:1
Contrast with white12.05:1WCAG normal text: AAA
Contrast with black1.74:1WCAG normal text: Fail
Greyscale equivalent#2D2D2D
Inverted#CBDE73

Colour vision & accessibility

Protanopia#003A8Fno red cones; affects about 1% of men; ΔE 20.8 from the original
Deuteranopia#00328Ano green cones; the most common form, about 1% of men; ΔE 16.7 from the original
Tritanopia#003F55no blue cones; rare, and affects men and women equally; ΔE 61.6 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.05:1WCAG large text: AAA
Contrast with black, large text1.74:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#798C21
Analogous#21448C, #69218C
Triadic#8C3421, #218C34
Split complementary#8C6921, #448C21
Tetradic#8C2144, #798C21, #218C69

Tints, shades & saturation

Lighter +40%#A293E6
Lighter +30%#7E6ADC
Lighter +20%#5B41D2
Lighter +10%#432BB5
Darker −10%#251763
Darker −20%#150E39
Darker −30%#060410
Darker −40%#000000
More saturated +25%#260BA2
Less saturated −25%#423776

Channel breakdown

R52
G33
B140
Red52 (20.4%)
Green33 (12.9%)
Blue140 (54.9%)
Hue250.65°
Saturation (HSL)61.85%
Lightness33.92%
Dominant channelBlue
Hex per channelR 34 · G 21 · B 8C

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