Recognised as Colour
#2F1978
- #2F1978
- Blue
- Dark
- Nearest: Midnight blue
#2F1978 is a blue with RGB values 47, 25, 120 and HSL 254°, 66%, 28%. It is a dark colour, so white text on it reaches 13.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2F1978#2F1978
HEX#2F1978
RGBrgb(47, 25, 120)
RGB (0–1)0.1843, 0.098, 0.4706
RGB percentages18.4%, 9.8%, 47.1%
HSLhsl(253.9, 65.5%, 28.4%)
HSV / HSBhsv(253.9, 79.2%, 47.1%)
CMYK60.8%, 79.2%, 0%, 52.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,086,712
CSS custom property--colour: #2F1978;
Brightness & contrast
Relative luminance0.02656WCAG 2.x, 0 is black and 1 is white
Perceived brightness51.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.72:1
Contrast with white13.72:1WCAG normal text: AAA
Contrast with black1.53:1WCAG normal text: Fail
Greyscale equivalent#252525
Inverted#D0E687
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.72:1WCAG large text: AAA
Contrast with black, large text1.53:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#627819
Analogous#193378, #5E1978
Triadic#782F19, #19782F
Split complementary#785E19, #327819
Tetradic#781933, #627819, #19785E
Tints, shades & saturation
Channel breakdown
R47
G25
B120
Red47 (18.4%)
Green25 (9.8%)
Blue120 (47.1%)
Hue253.89°
Saturation (HSL)65.52%
Lightness28.43%
Dominant channelBlue
Hex per channelR 2F · G 19 · B 78
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