Nerdulator> put something in

Recognised as Colour

#020251

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

#020251 is a blue with RGB values 2, 2, 81 and HSL 240°, 95%, 16%. 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

#020251#020251
HEX#020251
RGBrgb(2, 2, 81)
RGB (0–1)0.0078, 0.0078, 0.3176
RGB percentages0.8%, 0.8%, 31.8%
HSLhsl(240, 95.2%, 16.3%)
HSV / HSBhsv(240, 97.5%, 31.8%)
CMYK97.5%, 97.5%, 0%, 68.2%naive device-independent conversion; real print needs an ICC profile
24-bit integer131,665
CSS custom property--colour: #020251;

Brightness & contrast

Relative luminance0.0065WCAG 2.x, 0 is black and 1 is white
Perceived brightness27.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.58:1
Contrast with white18.58:1WCAG normal text: AAA
Contrast with black1.13:1WCAG normal text: Fail
Greyscale equivalent#080808
Inverted#FDFDAE

Colour vision & accessibility

Protanopia#001753no red cones; affects about 1% of men; ΔE 15.3 from the original
Deuteranopia#000E50no green cones; the most common form, about 1% of men; ΔE 8.9 from the original
Tritanopia#001E2Cno blue cones; rare, and affects men and women equally; ΔE 49.7 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.58:1WCAG large text: AAA
Contrast with black, large text1.13:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#515102
Analogous#022951, #290251
Triadic#510202, #025102
Split complementary#512902, #295102
Tetradic#510229, #515102, #025129

Tints, shades & saturation

Lighter +40%#2525FA
Lighter +30%#0606E6
Lighter +20%#0404B5
Lighter +10%#030383
Darker −10%#01011F
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#000053
Less saturated −25%#0C0C47

Channel breakdown

R2
G2
B81
Red2 (0.8%)
Green2 (0.8%)
Blue81 (31.8%)
Hue240°
Saturation (HSL)95.18%
Lightness16.27%
Dominant channelBlue
Hex per channelR 02 · G 02 · B 51

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