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
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
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
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.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page