Nerdulator> put something in

Colour

#020266

  • #020266
  • Blue
  • Dark
  • Nearest: Midnight blue

#020266 is a blue with RGB values 2, 2, 102 and HSL 240°, 96%, 20%. It is a dark colour, so white text on it reaches 17.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#020266#020266
HEX#020266
RGBrgb(2, 2, 102)
RGB (0–1)0.0078, 0.0078, 0.4
RGB percentages0.8%, 0.8%, 40%
HSLhsl(240, 96.2%, 20.4%)
HSV / HSBhsv(240, 98%, 40%)
CMYK98%, 98%, 0%, 60%naive device-independent conversion; real print needs an ICC profile
24-bit integer131,686
CSS custom property--colour: #020266;

Brightness & contrast

Relative luminance0.01016WCAG 2.x, 0 is black and 1 is white
Perceived brightness34.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.45:1
Contrast with white17.45:1WCAG normal text: AAA
Contrast with black1.2:1WCAG normal text: Fail
Greyscale equivalent#090909
Inverted#FDFD99

Colour vision & accessibility

Protanopia#001F68no red cones; affects about 1% of men; ΔE 20.1 from the original
Deuteranopia#001464no green cones; the most common form, about 1% of men; ΔE 12.8 from the original
Tritanopia#002739no blue cones; rare, and affects men and women equally; ΔE 59.4 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text17.45:1WCAG large text: AAA
Contrast with black, large text1.2:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#666602
Analogous#023466, #340266
Triadic#660202, #026602
Split complementary#663402, #346602
Tetradic#660234, #666602, #026634

Tints, shades & saturation

Lighter +40%#3939FB
Lighter +30%#0707FA
Lighter +20%#0404CA
Lighter +10%#030398
Darker −10%#010134
Darker −20%#000002
Darker −30%#000000
Darker −40%#000000
More saturated +25%#000068
Less saturated −25%#0F0F59

Channel breakdown

R2
G2
B102
Red2 (0.8%)
Green2 (0.8%)
Blue102 (40%)
Hue240°
Saturation (HSL)96.15%
Lightness20.39%
Dominant channelBlue
Hex per channelR 02 · G 02 · B 66

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