Recognised as Colour
#2B127E
- #2B127E
- Blue
- Dark
- Nearest: Indigo
#2B127E is a blue with RGB values 43, 18, 126 and HSL 254°, 75%, 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 Indigo.
Colour values
#2B127E#2B127E
HEX#2B127E
RGBrgb(43, 18, 126)
RGB (0–1)0.1686, 0.0706, 0.4941
RGB percentages16.9%, 7.1%, 49.4%
HSLhsl(253.9, 75%, 28.2%)
HSV / HSBhsv(253.9, 85.7%, 49.4%)
CMYK65.9%, 85.7%, 0%, 50.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,822,782
CSS custom property--colour: #2B127E;
Brightness & contrast
Relative luminance0.02453WCAG 2.x, 0 is black and 1 is white
Perceived brightness50.5 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#1F1F1F
Inverted#D4ED81
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 familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#657E12
Analogous#122F7E, #61127E
Triadic#7E2B12, #127E2B
Split complementary#7E6112, #2F7E12
Tetradic#7E122F, #657E12, #127E61
Tints, shades & saturation
Channel breakdown
R43
G18
B126
Red43 (16.9%)
Green18 (7.1%)
Blue126 (49.4%)
Hue253.89°
Saturation (HSL)75%
Lightness28.24%
Dominant channelBlue
Hex per channelR 2B · G 12 · B 7E
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