Nerdulator> put something in

Recognised as Colour

#020C40

  • #020C40
  • Blue
  • Dark
  • Nearest: Midnight blue

#020C40 is a blue with RGB values 2, 12, 64 and HSL 230°, 94%, 13%. It is a dark colour, so white text on it reaches 18.6:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#020C40#020C40
HEX#020C40
RGBrgb(2, 12, 64)
RGB (0–1)0.0078, 0.0471, 0.251
RGB percentages0.8%, 4.7%, 25.1%
HSLhsl(230.3, 93.9%, 12.9%)
HSV / HSBhsv(230.3, 96.9%, 25.1%)
CMYK96.9%, 81.2%, 0%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer134,208
CSS custom property--colour: #020C40;

Brightness & contrast

Relative luminance0.00646WCAG 2.x, 0 is black and 1 is white
Perceived brightness23.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.6:1
Contrast with white18.6:1WCAG normal text: AAA
Contrast with black1.13:1WCAG normal text: Fail
Greyscale equivalent#0E0E0E
Inverted#FDF3BF

Colour vision & accessibility

Protanopia#001642no red cones; affects about 1% of men; ΔE 7.6 from the original
Deuteranopia#00103Fno green cones; the most common form, about 1% of men; ΔE 3.8 from the original
Tritanopia#001B25no blue cones; rare, and affects men and women equally; ΔE 34 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.6:1WCAG large text: AAA
Contrast with black, large text1.13:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#403602
Analogous#022B40, #170240
Triadic#40020C, #0C4002
Split complementary#401702, #2B4002
Tetradic#40022B, #403602, #024017

Tints, shades & saturation

Lighter +40%#163BF8
Lighter +30%#0728D4
Lighter +20%#051FA3
Lighter +10%#041571
Darker −10%#00030F
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#000B42
Less saturated −25%#0A1238

Channel breakdown

R2
G12
B64
Red2 (0.8%)
Green12 (4.7%)
Blue64 (25.1%)
Hue230.32°
Saturation (HSL)93.94%
Lightness12.94%
Dominant channelBlue
Hex per channelR 02 · G 0C · B 40

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