Recognised as Colour
#2A317F
- #2A317F
- Blue
- Dark
- Nearest: Dark slateblue
#2A317F is a blue with RGB values 42, 49, 127 and HSL 235°, 50%, 33%. It is a dark colour, so white text on it reaches 11.4:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#2A317F#2A317F
HEX#2A317F
RGBrgb(42, 49, 127)
RGB (0–1)0.1647, 0.1922, 0.498
RGB percentages16.5%, 19.2%, 49.8%
HSLhsl(235.1, 50.3%, 33.1%)
HSV / HSBhsv(235.1, 66.9%, 49.8%)
CMYK66.9%, 61.4%, 0%, 50.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,765,183
CSS custom property--colour: #2A317F;
Brightness & contrast
Relative luminance0.04221WCAG 2.x, 0 is black and 1 is white
Perceived brightness61.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.39:1
Contrast with white11.39:1WCAG normal text: AAA
Contrast with black1.84:1WCAG normal text: Fail
Greyscale equivalent#353535
Inverted#D5CE80
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text11.39:1WCAG large text: AAA
Contrast with black, large text1.84:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7F782A
Analogous#2A5C7F, #4D2A7F
Triadic#7F2A31, #317F2A
Split complementary#7F4D2A, #5B7F2A
Tetradic#7F2A5C, #7F782A, #2A7F4D
Tints, shades & saturation
Channel breakdown
R42
G49
B127
Red42 (16.5%)
Green49 (19.2%)
Blue127 (49.8%)
Hue235.06°
Saturation (HSL)50.3%
Lightness33.14%
Dominant channelBlue
Hex per channelR 2A · G 31 · B 7F
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