Recognised as Colour
#0C0786
- #0C0786
- Blue
- Dark
- Nearest: Navy
#0C0786 is a blue with RGB values 12, 7, 134 and HSL 242°, 90%, 28%. It is a dark colour, so white text on it reaches 15.1:1 contrast (AAA for normal text). The nearest named colour is Navy.
Colour values
#0C0786#0C0786
HEX#0C0786
RGBrgb(12, 7, 134)
RGB (0–1)0.0471, 0.0275, 0.5255
RGB percentages4.7%, 2.7%, 52.5%
HSLhsl(242.4, 90.1%, 27.6%)
HSV / HSBhsv(242.4, 94.8%, 52.5%)
CMYK91%, 94.8%, 0%, 47.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer788,358
CSS custom property--colour: #0C0786;
Brightness & contrast
Relative luminance0.01951WCAG 2.x, 0 is black and 1 is white
Perceived brightness46 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.1:1
Contrast with white15.1:1WCAG normal text: AAA
Contrast with black1.39:1WCAG normal text: Fail
Greyscale equivalent#111111
Inverted#F3F879
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.1:1WCAG large text: AAA
Contrast with black, large text1.39:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#818607
Analogous#074186, #4C0786
Triadic#860C07, #07860C
Split complementary#864C07, #418607
Tetradic#860741, #818607, #07864C
Tints, shades & saturation
Channel breakdown
R12
G7
B134
Red12 (4.7%)
Green7 (2.7%)
Blue134 (52.5%)
Hue242.36°
Saturation (HSL)90.07%
Lightness27.65%
Dominant channelBlue
Hex per channelR 0C · G 07 · B 86
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page