Nerdulator> put something in

Recognised as Colour

#0C1564

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

#0C1564 is a blue with RGB values 12, 21, 100 and HSL 234°, 79%, 22%. It is a dark colour, so white text on it reaches 16.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#0C1564#0C1564
HEX#0C1564
RGBrgb(12, 21, 100)
RGB (0–1)0.0471, 0.0824, 0.3922
RGB percentages4.7%, 8.2%, 39.2%
HSLhsl(233.9, 78.6%, 22%)
HSV / HSBhsv(233.9, 88%, 39.2%)
CMYK88%, 79%, 0%, 60.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer791,908
CSS custom property--colour: #0C1564;

Brightness & contrast

Relative luminance0.01535WCAG 2.x, 0 is black and 1 is white
Perceived brightness38 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.07:1
Contrast with white16.07:1WCAG normal text: AAA
Contrast with black1.31:1WCAG normal text: Fail
Greyscale equivalent#191919
Inverted#F3EA9B

Colour vision & accessibility

Protanopia#002666no red cones; affects about 1% of men; ΔE 14.2 from the original
Deuteranopia#001D63no green cones; the most common form, about 1% of men; ΔE 7.6 from the original
Tritanopia#002C3Bno blue cones; rare, and affects men and women equally; ΔE 49.4 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.07:1WCAG large text: AAA
Contrast with black, large text1.31:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#645B0C
Analogous#0C4164, #2F0C64
Triadic#640C15, #15640C
Split complementary#642F0C, #41640C
Tetradic#640C41, #645B0C, #0C642F

Tints, shades & saturation

Lighter +40%#5261EA
Lighter +30%#2438E5
Lighter +20%#1728BF
Lighter +10%#111F92
Darker −10%#070B36
Darker −20%#010209
Darker −30%#000000
Darker −40%#000000
More saturated +25%#000B70
Less saturated −25%#1A2056

Channel breakdown

R12
G21
B100
Red12 (4.7%)
Green21 (8.2%)
Blue100 (39.2%)
Hue233.86°
Saturation (HSL)78.57%
Lightness21.96%
Dominant channelBlue
Hex per channelR 0C · G 15 · B 64

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