Nerdulator> put something in

Recognised as Colour

#2E126D

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

#2E126D is a violet with RGB values 46, 18, 109 and HSL 258°, 72%, 25%. It is a dark colour, so white text on it reaches 14.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2E126D#2E126D
HEX#2E126D
RGBrgb(46, 18, 109)
RGB (0–1)0.1804, 0.0706, 0.4275
RGB percentages18%, 7.1%, 42.7%
HSLhsl(258.5, 71.7%, 24.9%)
HSV / HSBhsv(258.5, 83.5%, 42.7%)
CMYK57.8%, 83.5%, 0%, 57.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,019,373
CSS custom property--colour: #2E126D;

Brightness & contrast

Relative luminance0.02118WCAG 2.x, 0 is black and 1 is white
Perceived brightness46.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.75:1
Contrast with white14.75:1WCAG normal text: AAA
Contrast with black1.42:1WCAG normal text: Fail
Greyscale equivalent#1F1F1F
Inverted#D1ED92

Colour vision & accessibility

Protanopia#002A6Fno red cones; affects about 1% of men; ΔE 20.2 from the original
Deuteranopia#00266Bno green cones; the most common form, about 1% of men; ΔE 18.8 from the original
Tritanopia#132D40no blue cones; rare, and affects men and women equally; ΔE 51.3 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.75:1WCAG large text: AAA
Contrast with black, large text1.42:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#516D12
Analogous#12246D, #5B126D
Triadic#6D2E12, #126D2E
Split complementary#6D5B12, #246D12
Tetradic#6D1224, #516D12, #126D5B

Tints, shades & saturation

Lighter +40%#8D65E6
Lighter +30%#6C3ADE
Lighter +20%#5320C5
Lighter +10%#401999
Darker −10%#1C0B41
Darker −20%#090415
Darker −30%#000000
Darker −40%#000000
More saturated +25%#28027D
Less saturated −25%#34225D

Channel breakdown

R46
G18
B109
Red46 (18%)
Green18 (7.1%)
Blue109 (42.7%)
Hue258.46°
Saturation (HSL)71.65%
Lightness24.9%
Dominant channelBlue
Hex per channelR 2E · G 12 · B 6D

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