Nerdulator> put something in

Recognised as Colour

#2D2171

  • #2D2171
  • Blue
  • Dark
  • Nearest: Midnight blue

#2D2171 is a blue with RGB values 45, 33, 113 and HSL 249°, 55%, 29%. It is a dark colour, so white text on it reaches 13.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2D2171#2D2171
HEX#2D2171
RGBrgb(45, 33, 113)
RGB (0–1)0.1765, 0.1294, 0.4431
RGB percentages17.6%, 12.9%, 44.3%
HSLhsl(249, 54.8%, 28.6%)
HSV / HSBhsv(249, 70.8%, 44.3%)
CMYK60.2%, 70.8%, 0%, 55.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,957,681
CSS custom property--colour: #2D2171;

Brightness & contrast

Relative luminance0.02838WCAG 2.x, 0 is black and 1 is white
Perceived brightness52 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.4:1
Contrast with white13.4:1WCAG normal text: AAA
Contrast with black1.57:1WCAG normal text: Fail
Greyscale equivalent#292929
Inverted#D2DE8E

Colour vision & accessibility

Protanopia#003273no red cones; affects about 1% of men; ΔE 16.8 from the original
Deuteranopia#002C6Fno green cones; the most common form, about 1% of men; ΔE 13.9 from the original
Tritanopia#073646no blue cones; rare, and affects men and women equally; ΔE 48.8 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text13.4:1WCAG large text: AAA
Contrast with black, large text1.57:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#657121
Analogous#213D71, #552171
Triadic#712D21, #21712D
Split complementary#715521, #3D7121
Tetradic#71213D, #657121, #217155

Tints, shades & saturation

Lighter +40%#9083DB
Lighter +30%#6D5CCF
Lighter +20%#4C38C0
Lighter +10%#3D2D98
Darker −10%#1D154A
Darker −20%#0E0A22
Darker −30%#000000
Darker −40%#000000
More saturated +25%#200F83
Less saturated −25%#3A335F

Channel breakdown

R45
G33
B113
Red45 (17.6%)
Green33 (12.9%)
Blue113 (44.3%)
Hue249°
Saturation (HSL)54.79%
Lightness28.63%
Dominant channelBlue
Hex per channelR 2D · G 21 · B 71

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