Nerdulator> put something in

Recognised as Colour

#0C0870

  • #0C0870
  • Blue
  • Dark
  • Nearest: Midnight blue

#0C0870 is a blue with RGB values 12, 8, 112 and HSL 242°, 87%, 24%. It is a dark colour, so white text on it reaches 16.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#0C0870#0C0870
HEX#0C0870
RGBrgb(12, 8, 112)
RGB (0–1)0.0471, 0.0314, 0.4392
RGB percentages4.7%, 3.1%, 43.9%
HSLhsl(242.3, 86.7%, 23.5%)
HSV / HSBhsv(242.3, 92.9%, 43.9%)
CMYK89.3%, 92.9%, 0%, 56.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer788,592
CSS custom property--colour: #0C0870;

Brightness & contrast

Relative luminance0.01422WCAG 2.x, 0 is black and 1 is white
Perceived brightness38.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.35:1
Contrast with white16.35:1WCAG normal text: AAA
Contrast with black1.28:1WCAG normal text: Fail
Greyscale equivalent#101010
Inverted#F3F78F

Colour vision & accessibility

Protanopia#002573no red cones; affects about 1% of men; ΔE 19.6 from the original
Deuteranopia#001A6Eno green cones; the most common form, about 1% of men; ΔE 12.8 from the original
Tritanopia#002D40no blue cones; rare, and affects men and women equally; ΔE 61 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.35:1WCAG large text: AAA
Contrast with black, large text1.28:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 10.82, a distinctly different colour
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#6C7008
Analogous#083870, #400870
Triadic#700C08, #08700C
Split complementary#704008, #387008
Tetradic#700838, #6C7008, #087040

Tints, shades & saturation

Lighter +40%#5851F3
Lighter +30%#2A22EF
Lighter +20%#160FCF
Lighter +10%#110BA0
Darker −10%#070540
Darker −20%#020111
Darker −30%#000000
Darker −40%#000000
More saturated +25%#050078
Less saturated −25%#1A1761

Channel breakdown

R12
G8
B112
Red12 (4.7%)
Green8 (3.1%)
Blue112 (43.9%)
Hue242.31°
Saturation (HSL)86.67%
Lightness23.53%
Dominant channelBlue
Hex per channelR 0C · G 08 · B 70

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

Every value on this page was computed from “0c0870” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.