Nerdulator> put something in

Recognised as Colour

#2D145B

  • #2D145B
  • Violet
  • Dark
  • Nearest: Midnight blue

#2D145B is a violet with RGB values 45, 20, 91 and HSL 261°, 64%, 22%. It is a dark colour, so white text on it reaches 15.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2D145B#2D145B
HEX#2D145B
RGBrgb(45, 20, 91)
RGB (0–1)0.1765, 0.0784, 0.3569
RGB percentages17.6%, 7.8%, 35.7%
HSLhsl(261.1, 64%, 21.8%)
HSV / HSBhsv(261.1, 78%, 35.7%)
CMYK50.5%, 78%, 0%, 64.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,954,331
CSS custom property--colour: #2D145B;

Brightness & contrast

Relative luminance0.01814WCAG 2.x, 0 is black and 1 is white
Perceived brightness42.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.41:1
Contrast with white15.41:1WCAG normal text: AAA
Contrast with black1.36:1WCAG normal text: Fail
Greyscale equivalent#1E1E1E
Inverted#D2EBA4

Colour vision & accessibility

Protanopia#00255Dno red cones; affects about 1% of men; ΔE 17.4 from the original
Deuteranopia#00235Ano green cones; the most common form, about 1% of men; ΔE 17.3 from the original
Tritanopia#1F2736no blue cones; rare, and affects men and women equally; ΔE 39.9 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.41:1WCAG large text: AAA
Contrast with black, large text1.36:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#425B14
Analogous#141F5B, #50145B
Triadic#5B2D14, #145B2D
Split complementary#5B5114, #1E5B14
Tetradic#5B141F, #425B14, #145B50

Tints, shades & saturation

Lighter +40%#8B5FDC
Lighter +30%#6D35D3
Lighter +20%#5626AF
Lighter +10%#421D85
Darker −10%#180B31
Darker −20%#040207
Darker −30%#000000
Darker −40%#000000
More saturated +25%#290669
Less saturated −25%#31224D

Channel breakdown

R45
G20
B91
Red45 (17.6%)
Green20 (7.8%)
Blue91 (35.7%)
Hue261.13°
Saturation (HSL)63.96%
Lightness21.76%
Dominant channelBlue
Hex per channelR 2D · G 14 · B 5B

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