Recognised as Colour
#28176F
- #28176F
- Blue
- Dark
- Nearest: Midnight blue
#28176F is a blue with RGB values 40, 23, 111 and HSL 252°, 66%, 26%. It is a dark colour, so white text on it reaches 14.6:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#28176F#28176F
HEX#28176F
RGBrgb(40, 23, 111)
RGB (0–1)0.1569, 0.0902, 0.4353
RGB percentages15.7%, 9%, 43.5%
HSLhsl(251.6, 65.7%, 26.3%)
HSV / HSBhsv(251.6, 79.3%, 43.5%)
CMYK64%, 79.3%, 0%, 56.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,627,439
CSS custom property--colour: #28176F;
Brightness & contrast
Relative luminance0.02212WCAG 2.x, 0 is black and 1 is white
Perceived brightness46.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.56:1
Contrast with white14.56:1WCAG normal text: AAA
Contrast with black1.44:1WCAG normal text: Fail
Greyscale equivalent#212121
Inverted#D7E890
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.56:1WCAG large text: AAA
Contrast with black, large text1.44:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#5E6F17
Analogous#17326F, #54176F
Triadic#6F2817, #176F28
Split complementary#6F5417, #326F17
Tetradic#6F1732, #5E6F17, #176F54
Tints, shades & saturation
Channel breakdown
R40
G23
B111
Red40 (15.7%)
Green23 (9%)
Blue111 (43.5%)
Hue251.59°
Saturation (HSL)65.67%
Lightness26.27%
Dominant channelBlue
Hex per channelR 28 · G 17 · B 6F
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