Recognised as Colour
#2A2857
- #2A2857
- Blue
- Dark
- Nearest: Dark slateblue
#2A2857 is a blue with RGB values 42, 40, 87 and HSL 243°, 37%, 25%. It is a dark colour, so white text on it reaches 13.6:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#2A2857#2A2857
HEX#2A2857
RGBrgb(42, 40, 87)
RGB (0–1)0.1647, 0.1569, 0.3412
RGB percentages16.5%, 15.7%, 34.1%
HSLhsl(242.6, 37%, 24.9%)
HSV / HSBhsv(242.6, 54%, 34.1%)
CMYK51.7%, 54%, 0%, 65.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,762,839
CSS custom property--colour: #2A2857;
Brightness & contrast
Relative luminance0.02698WCAG 2.x, 0 is black and 1 is white
Perceived brightness48.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.64:1
Contrast with white13.64:1WCAG normal text: AAA
Contrast with black1.54:1WCAG normal text: Fail
Greyscale equivalent#2C2C2C
Inverted#D5D7A8
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text13.64:1WCAG large text: AAA
Contrast with black, large text1.54:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#555728
Analogous#283D57, #422857
Triadic#572A28, #28572A
Split complementary#574228, #3D5728
Tetradic#57283D, #555728, #285742
Tints, shades & saturation
Channel breakdown
R42
G40
B87
Red42 (16.5%)
Green40 (15.7%)
Blue87 (34.1%)
Hue242.55°
Saturation (HSL)37.01%
Lightness24.9%
Dominant channelBlue
Hex per channelR 2A · G 28 · B 57
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