Recognised as Colour
#2E2878
- #2E2878
- Blue
- Dark
- Nearest: Midnight blue
#2E2878 is a blue with RGB values 46, 40, 120 and HSL 245°, 50%, 31%. It is a dark colour, so white text on it reaches 12.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2E2878#2E2878
HEX#2E2878
RGBrgb(46, 40, 120)
RGB (0–1)0.1804, 0.1569, 0.4706
RGB percentages18%, 15.7%, 47.1%
HSLhsl(244.5, 50%, 31.4%)
HSV / HSBhsv(244.5, 66.7%, 47.1%)
CMYK61.7%, 66.7%, 0%, 52.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,025,016
CSS custom property--colour: #2E2878;
Brightness & contrast
Relative luminance0.03454WCAG 2.x, 0 is black and 1 is white
Perceived brightness56.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.42:1
Contrast with white12.42:1WCAG normal text: AAA
Contrast with black1.69:1WCAG normal text: Fail
Greyscale equivalent#2F2F2F
Inverted#D1D787
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12.42:1WCAG large text: AAA
Contrast with black, large text1.69:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#727828
Analogous#284A78, #562878
Triadic#782E28, #28782E
Split complementary#785628, #4A7828
Tetradic#78284A, #727828, #287856
Tints, shades & saturation
Channel breakdown
R46
G40
B120
Red46 (18%)
Green40 (15.7%)
Blue120 (47.1%)
Hue244.5°
Saturation (HSL)50%
Lightness31.37%
Dominant channelBlue
Hex per channelR 2E · G 28 · 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