Nerdulator> put something in

Recognised as Colour

#2B1776

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

#2B1776 is a blue with RGB values 43, 23, 118 and HSL 253°, 67%, 28%. It is a dark colour, so white text on it reaches 14.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2B1776#2B1776
HEX#2B1776
RGBrgb(43, 23, 118)
RGB (0–1)0.1686, 0.0902, 0.4627
RGB percentages16.9%, 9%, 46.3%
HSLhsl(252.6, 67.4%, 27.6%)
HSV / HSBhsv(252.6, 80.5%, 46.3%)
CMYK63.6%, 80.5%, 0%, 53.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,824,054
CSS custom property--colour: #2B1776;

Brightness & contrast

Relative luminance0.02434WCAG 2.x, 0 is black and 1 is white
Perceived brightness49.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.12:1
Contrast with white14.12:1WCAG normal text: AAA
Contrast with black1.49:1WCAG normal text: Fail
Greyscale equivalent#222222
Inverted#D4E889

Colour vision & accessibility

Protanopia#002E79no red cones; affects about 1% of men; ΔE 18.8 from the original
Deuteranopia#002874no green cones; the most common form, about 1% of men; ΔE 16.3 from the original
Tritanopia#003346no blue cones; rare, and affects men and women equally; ΔE 56.2 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.12:1WCAG large text: AAA
Contrast with black, large text1.49:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#627617
Analogous#173276, #5B1776
Triadic#762B17, #17762B
Split complementary#765B17, #327617
Tetradic#761732, #627617, #17765B

Tints, shades & saturation

Lighter +40%#8C75E4
Lighter +30%#694ADC
Lighter +20%#4A28CB
Lighter +10%#3B1FA1
Darker −10%#1B0F4B
Darker −20%#0C0621
Darker −30%#000000
Darker −40%#000000
More saturated +25%#210588
Less saturated −25%#352964

Channel breakdown

R43
G23
B118
Red43 (16.9%)
Green23 (9%)
Blue118 (46.3%)
Hue252.63°
Saturation (HSL)67.38%
Lightness27.65%
Dominant channelBlue
Hex per channelR 2B · G 17 · B 76

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