Recognised as Colour
#2A307F
- #2A307F
- Blue
- Dark
- Nearest: Dark slateblue
#2A307F is a blue with RGB values 42, 48, 127 and HSL 236°, 50%, 33%. It is a dark colour, so white text on it reaches 11.5:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#2A307F#2A307F
HEX#2A307F
RGBrgb(42, 48, 127)
RGB (0–1)0.1647, 0.1882, 0.498
RGB percentages16.5%, 18.8%, 49.8%
HSLhsl(235.8, 50.3%, 33.1%)
HSV / HSBhsv(235.8, 66.9%, 49.8%)
CMYK66.9%, 62.2%, 0%, 50.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,764,927
CSS custom property--colour: #2A307F;
Brightness & contrast
Relative luminance0.04138WCAG 2.x, 0 is black and 1 is white
Perceived brightness61 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.49:1
Contrast with white11.49:1WCAG normal text: AAA
Contrast with black1.83:1WCAG normal text: Fail
Greyscale equivalent#343434
Inverted#D5CF80
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text11.49:1WCAG large text: AAA
Contrast with black, large text1.83:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7F792A
Analogous#2A5A7F, #4E2A7F
Triadic#7F2A30, #307F2A
Split complementary#7F4E2A, #5A7F2A
Tetradic#7F2A5B, #7F792A, #2A7F4E
Tints, shades & saturation
Channel breakdown
R42
G48
B127
Red42 (16.5%)
Green48 (18.8%)
Blue127 (49.8%)
Hue235.76°
Saturation (HSL)50.3%
Lightness33.14%
Dominant channelBlue
Hex per channelR 2A · G 30 · 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