Recognised as Colour
#2B1776
- #2B1776
- Blue
- Dark
- Nearest: Midnight blue
#2B1776 is a blue with RGB values 43, 23, 118 and HSL 253°, 67%, 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
#2B1776#2B1776
HEX#2B1776
RGBrgb(43, 23, 118)
RGB (0–1)0.1686, 0.0902, 0.4627
RGB percentages16.9%, 9%, 46.3%
HSLhsl(252.6, 67.4%, 27.6%)
HSV / HSBhsv(252.6, 80.5%, 46.3%)
CMYK63.6%, 80.5%, 0%, 53.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,824,054
CSS custom property--colour: #2B1776;
Brightness & contrast
Relative luminance0.02434WCAG 2.x, 0 is black and 1 is white
Perceived brightness49.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.12:1
Contrast with white14.12:1WCAG normal text: AAA
Contrast with black1.49:1WCAG normal text: Fail
Greyscale equivalent#222222
Inverted#D4E889
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.12: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#627617
Analogous#173276, #5B1776
Triadic#762B17, #17762B
Split complementary#765B17, #327617
Tetradic#761732, #627617, #17765B
Tints, shades & saturation
Channel breakdown
R43
G23
B118
Red43 (16.9%)
Green23 (9%)
Blue118 (46.3%)
Hue252.63°
Saturation (HSL)67.38%
Lightness27.65%
Dominant channelBlue
Hex per channelR 2B · G 17 · B 76
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