Nerdulator> put something in

Recognised as Colour

#2B004C

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

#2B004C is a violet with RGB values 43, 0, 76 and HSL 274°, 100%, 15%. It is a dark colour, so white text on it reaches 17.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2B004C#2B004C
HEX#2B004C
RGBrgb(43, 0, 76)
RGB (0–1)0.1686, 0, 0.298
RGB percentages16.9%, 0%, 29.8%
HSLhsl(273.9, 100%, 14.9%)
HSV / HSBhsv(273.9, 100%, 29.8%)
CMYK43.4%, 100%, 0%, 70.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,818,124
CSS custom property--colour: #2B004C;

Brightness & contrast

Relative luminance0.01035WCAG 2.x, 0 is black and 1 is white
Perceived brightness34.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.4:1
Contrast with white17.4:1WCAG normal text: AAA
Contrast with black1.21:1WCAG normal text: Fail
Greyscale equivalent#0F0F0F
Inverted#D4FFB3

Colour vision & accessibility

Protanopia#00194Eno red cones; affects about 1% of men; ΔE 20.3 from the original
Deuteranopia#001A4Bno green cones; the most common form, about 1% of men; ΔE 22.7 from the original
Tritanopia#241729no blue cones; rare, and affects men and women equally; ΔE 36.4 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text17.4:1WCAG large text: AAA
Contrast with black, large text1.21:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#214C00
Analogous#05004C, #4C0047
Triadic#4C2B00, #004C2B
Split complementary#474C00, #004C05
Tetradic#4C0500, #214C00, #00474C

Tints, shades & saturation

Lighter +40%#9B19FF
Lighter +30%#8200E5
Lighter +20%#6500B2
Lighter +10%#48007F
Darker −10%#0E0019
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#2B004C
Less saturated −25%#2A0A42

Channel breakdown

R43
G0
B76
Red43 (16.9%)
Green0 (0%)
Blue76 (29.8%)
Hue273.95°
Saturation (HSL)100%
Lightness14.9%
Dominant channelBlue
Hex per channelR 2B · G 00 · B 4C

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