Recognised as Colour
#05124C
- #05124C
- Blue
- Dark
- Nearest: Midnight blue
#05124C is a blue with RGB values 5, 18, 76 and HSL 229°, 88%, 16%. It is a dark colour, so white text on it reaches 17.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#05124C#05124C
HEX#05124C
RGBrgb(5, 18, 76)
RGB (0–1)0.0196, 0.0706, 0.298
RGB percentages2%, 7.1%, 29.8%
HSLhsl(229, 87.7%, 15.9%)
HSV / HSBhsv(229, 93.4%, 29.8%)
CMYK93.4%, 76.3%, 0%, 70.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer332,364
CSS custom property--colour: #05124C;
Brightness & contrast
Relative luminance0.00987WCAG 2.x, 0 is black and 1 is white
Perceived brightness29.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.54:1
Contrast with white17.54:1WCAG normal text: AAA
Contrast with black1.2:1WCAG normal text: Fail
Greyscale equivalent#131313
Inverted#FAEDB3
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.54:1WCAG large text: AAA
Contrast with black, large text1.2:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#4C3F05
Analogous#05354C, #1C054C
Triadic#4C0512, #124C05
Split complementary#4C1B05, #364C05
Tetradic#4C0535, #4C3F05, #054C1B
Tints, shades & saturation
Channel breakdown
R5
G18
B76
Red5 (2%)
Green18 (7.1%)
Blue76 (29.8%)
Hue229.01°
Saturation (HSL)87.65%
Lightness15.88%
Dominant channelBlue
Hex per channelR 05 · G 12 · B 4C
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