Recognised as Colour
#180C54
- #180C54
- Blue
- Dark
- Nearest: Midnight blue
#180C54 is a blue with RGB values 24, 12, 84 and HSL 250°, 75%, 19%. It is a dark colour, so white text on it reaches 17.2:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#180C54#180C54
HEX#180C54
RGBrgb(24, 12, 84)
RGB (0–1)0.0941, 0.0471, 0.3294
RGB percentages9.4%, 4.7%, 32.9%
HSLhsl(250, 75%, 18.8%)
HSV / HSBhsv(250, 85.7%, 32.9%)
CMYK71.4%, 85.7%, 0%, 67.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,576,020
CSS custom property--colour: #180C54;
Brightness & contrast
Relative luminance0.01097WCAG 2.x, 0 is black and 1 is white
Perceived brightness32.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.22:1
Contrast with white17.22:1WCAG normal text: AAA
Contrast with black1.22:1WCAG normal text: Fail
Greyscale equivalent#141414
Inverted#E7F3AB
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.22:1WCAG large text: AAA
Contrast with black, large text1.22:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#48540C
Analogous#0C2454, #3C0C54
Triadic#54180C, #0C5418
Split complementary#543C0C, #24540C
Tetradic#540C24, #48540C, #0C543C
Tints, shades & saturation
Channel breakdown
R24
G12
B84
Red24 (9.4%)
Green12 (4.7%)
Blue84 (32.9%)
Hue250°
Saturation (HSL)75%
Lightness18.82%
Dominant channelBlue
Hex per channelR 18 · G 0C · B 54
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