Recognised as Colour
#012D8A
- #012D8A
- Blue
- Dark
- Nearest: Midnight blue
#012D8A is a blue with RGB values 1, 45, 138 and HSL 221°, 99%, 27%. It is a dark colour, so white text on it reaches 12:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#012D8A#012D8A
HEX#012D8A
RGBrgb(1, 45, 138)
RGB (0–1)0.0039, 0.1765, 0.5412
RGB percentages0.4%, 17.6%, 54.1%
HSLhsl(220.7, 98.6%, 27.3%)
HSV / HSBhsv(220.7, 99.3%, 54.1%)
CMYK99.3%, 67.4%, 0%, 45.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer77,194
CSS custom property--colour: #012D8A;
Brightness & contrast
Relative luminance0.03718WCAG 2.x, 0 is black and 1 is white
Perceived brightness58 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.04:1
Contrast with white12.04:1WCAG normal text: AAA
Contrast with black1.74:1WCAG normal text: Fail
Greyscale equivalent#2A2A2A
Inverted#FED275
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.04:1WCAG large text: AAA
Contrast with black, large text1.74:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#8A5E01
Analogous#01728A, #19018A
Triadic#8A012D, #2D8A01
Split complementary#8A1901, #728A01
Tetradic#8A0172, #8A5E01, #018A19
Tints, shades & saturation
Channel breakdown
R1
G45
B138
Red1 (0.4%)
Green45 (17.6%)
Blue138 (54.1%)
Hue220.73°
Saturation (HSL)98.56%
Lightness27.25%
Dominant channelBlue
Hex per channelR 01 · G 2D · B 8A
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