Recognised as Colour
#18277D
- #18277D
- Blue
- Dark
- Nearest: Midnight blue
#18277D is a blue with RGB values 24, 39, 125 and HSL 231°, 68%, 29%. It is a dark colour, so white text on it reaches 12.9:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#18277D#18277D
HEX#18277D
RGBrgb(24, 39, 125)
RGB (0–1)0.0941, 0.1529, 0.4902
RGB percentages9.4%, 15.3%, 49%
HSLhsl(231.1, 67.8%, 29.2%)
HSV / HSBhsv(231.1, 80.8%, 49%)
CMYK80.8%, 68.8%, 0%, 51%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,582,973
CSS custom property--colour: #18277D;
Brightness & contrast
Relative luminance0.03126WCAG 2.x, 0 is black and 1 is white
Perceived brightness53.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.92:1
Contrast with white12.92:1WCAG normal text: AAA
Contrast with black1.63:1WCAG normal text: Fail
Greyscale equivalent#2A2A2A
Inverted#E7D882
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.92:1WCAG large text: AAA
Contrast with black, large text1.63:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7D6E18
Analogous#18597D, #3C187D
Triadic#7D1827, #277D18
Split complementary#7D3B18, #5A7D18
Tetradic#7D1859, #7D6E18, #187D3B
Tints, shades & saturation
Channel breakdown
R24
G39
B125
Red24 (9.4%)
Green39 (15.3%)
Blue125 (49%)
Hue231.09°
Saturation (HSL)67.79%
Lightness29.22%
Dominant channelBlue
Hex per channelR 18 · G 27 · B 7D
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