Recognised as Colour
#2D137B
- #2D137B
- Violet
- Dark
- Nearest: Midnight blue
#2D137B is a violet with RGB values 45, 19, 123 and HSL 255°, 73%, 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
#2D137B#2D137B
HEX#2D137B
RGBrgb(45, 19, 123)
RGB (0–1)0.1765, 0.0745, 0.4824
RGB percentages17.6%, 7.5%, 48.2%
HSLhsl(255, 73.2%, 27.8%)
HSV / HSBhsv(255, 84.6%, 48.2%)
CMYK63.4%, 84.6%, 0%, 51.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,954,107
CSS custom property--colour: #2D137B;
Brightness & contrast
Relative luminance0.02454WCAG 2.x, 0 is black and 1 is white
Perceived brightness50.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.09:1
Contrast with white14.09:1WCAG normal text: AAA
Contrast with black1.49:1WCAG normal text: Fail
Greyscale equivalent#202020
Inverted#D2EC84
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.09:1WCAG large text: AAA
Contrast with black, large text1.49:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#617B13
Analogous#132D7B, #61137B
Triadic#7B2D13, #137B2D
Split complementary#7B6113, #2D7B13
Tetradic#7B132D, #617B13, #137B61
Tints, shades & saturation
Channel breakdown
R45
G19
B123
Red45 (17.6%)
Green19 (7.5%)
Blue123 (48.2%)
Hue255°
Saturation (HSL)73.24%
Lightness27.84%
Dominant channelBlue
Hex per channelR 2D · G 13 · B 7B
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page