Nerdulator> put something in

Colour

#1B0040

  • #1B0040
  • Violet
  • Dark
  • Nearest: Midnight blue

#1B0040 is a violet with RGB values 27, 0, 64 and HSL 265°, 100%, 13%. It is a dark colour, so white text on it reaches 18.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#1B0040#1B0040
HEX#1B0040
RGBrgb(27, 0, 64)
RGB (0–1)0.1059, 0, 0.251
RGB percentages10.6%, 0%, 25.1%
HSLhsl(265.3, 100%, 12.5%)
HSV / HSBhsv(265.3, 100%, 25.1%)
CMYK57.8%, 100%, 0%, 74.9%naive device-independent conversion; real print needs an ICC profile
24-bit integer1,769,536
CSS custom property--colour: #1B0040;

Brightness & contrast

Relative luminance0.00603WCAG 2.x, 0 is black and 1 is white
Perceived brightness26.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.74:1
Contrast with white18.74:1WCAG normal text: AAA
Contrast with black1.12:1WCAG normal text: Fail
Greyscale equivalent#0A0A0A
Inverted#E4FFBF

Colour vision & accessibility

Protanopia#001342no red cones; affects about 1% of men; ΔE 15.3 from the original
Deuteranopia#00113Fno green cones; the most common form, about 1% of men; ΔE 15.3 from the original
Tritanopia#0F1322no blue cones; rare, and affects men and women equally; ΔE 35.4 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.74:1WCAG large text: AAA
Contrast with black, large text1.12:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#254000
Analogous#000540, #3B0040
Triadic#401B00, #00401B
Split complementary#403B00, #054000
Tetradic#400005, #254000, #00403B

Tints, shades & saturation

Lighter +40%#730DFF
Lighter +30%#5C00D9
Lighter +20%#4600A6
Lighter +10%#310073
Darker −10%#05000D
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#1B0040
Less saturated −25%#1C0838

Channel breakdown

R27
G0
B64
Red27 (10.6%)
Green0 (0%)
Blue64 (25.1%)
Hue265.31°
Saturation (HSL)100%
Lightness12.55%
Dominant channelBlue
Hex per channelR 1B · G 00 · B 40

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