Nerdulator> put something in

Colour

#0C1978

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

#0C1978 is a blue with RGB values 12, 25, 120 and HSL 233°, 82%, 26%. It is a dark colour, so white text on it reaches 14.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#0C1978#0C1978
HEX#0C1978
RGBrgb(12, 25, 120)
RGB (0–1)0.0471, 0.098, 0.4706
RGB percentages4.7%, 9.8%, 47.1%
HSLhsl(232.8, 81.8%, 25.9%)
HSV / HSBhsv(232.8, 90%, 47.1%)
CMYK90%, 79.2%, 0%, 52.9%naive device-independent conversion; real print needs an ICC profile
24-bit integer792,952
CSS custom property--colour: #0C1978;

Brightness & contrast

Relative luminance0.02129WCAG 2.x, 0 is black and 1 is white
Perceived brightness45.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.73:1
Contrast with white14.73:1WCAG normal text: AAA
Contrast with black1.43:1WCAG normal text: Fail
Greyscale equivalent#1D1D1D
Inverted#F3E687

Colour vision & accessibility

Protanopia#002D7Bno red cones; affects about 1% of men; ΔE 15.5 from the original
Deuteranopia#002376no green cones; the most common form, about 1% of men; ΔE 9.3 from the original
Tritanopia#003647no blue cones; rare, and affects men and women equally; ΔE 58.2 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.73:1WCAG large text: AAA
Contrast with black, large text1.43:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 5.11, clearly different but related
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#786B0C
Analogous#0C4F78, #350C78
Triadic#780C19, #19780C
Split complementary#78350C, #4F780C
Tetradic#780C4F, #786B0C, #0C7835

Tints, shades & saturation

Lighter +40%#6172EF
Lighter +30%#3249EB
Lighter +20%#152CD5
Lighter +10%#1123A6
Darker −10%#070F4A
Darker −20%#03061B
Darker −30%#000000
Darker −40%#000000
More saturated +25%#001084
Less saturated −25%#1C2668

Channel breakdown

R12
G25
B120
Red12 (4.7%)
Green25 (9.8%)
Blue120 (47.1%)
Hue232.78°
Saturation (HSL)81.82%
Lightness25.88%
Dominant channelBlue
Hex per channelR 0C · G 19 · B 78

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 “0c1978” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.