Nerdulator> put something in

Recognised as Colour

#2B126A

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

#2B126A is a violet with RGB values 43, 18, 106 and HSL 257°, 71%, 24%. It is a dark colour, so white text on it reaches 15:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2B126A#2B126A
HEX#2B126A
RGBrgb(43, 18, 106)
RGB (0–1)0.1686, 0.0706, 0.4157
RGB percentages16.9%, 7.1%, 41.6%
HSLhsl(257, 71%, 24.3%)
HSV / HSBhsv(257, 83%, 41.6%)
CMYK59.4%, 83%, 0%, 58.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,822,762
CSS custom property--colour: #2B126A;

Brightness & contrast

Relative luminance0.01987WCAG 2.x, 0 is black and 1 is white
Perceived brightness45 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.03:1
Contrast with white15.03:1WCAG normal text: AAA
Contrast with black1.4:1WCAG normal text: Fail
Greyscale equivalent#1E1E1E
Inverted#D4ED95

Colour vision & accessibility

Protanopia#00296Cno red cones; affects about 1% of men; ΔE 19.5 from the original
Deuteranopia#002468no green cones; the most common form, about 1% of men; ΔE 17.3 from the original
Tritanopia#0D2C3Eno blue cones; rare, and affects men and women equally; ΔE 51 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.03:1WCAG large text: AAA
Contrast with black, large text1.4:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#516A12
Analogous#12256A, #57126A
Triadic#6A2B12, #126A2B
Split complementary#6A5712, #256A12
Tetradic#6A1225, #516A12, #126A57

Tints, shades & saturation

Lighter +40%#8863E5
Lighter +30%#6738DD
Lighter +20%#4E21C1
Lighter +10%#3D1996
Darker −10%#190B3E
Darker −20%#080313
Darker −30%#000000
Darker −40%#000000
More saturated +25%#24037A
Less saturated −25%#32225A

Channel breakdown

R43
G18
B106
Red43 (16.9%)
Green18 (7.1%)
Blue106 (41.6%)
Hue257.05°
Saturation (HSL)70.97%
Lightness24.31%
Dominant channelBlue
Hex per channelR 2B · G 12 · B 6A

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