Nerdulator> put something in

Recognised as Colour

#020252

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

#020252 is a blue with RGB values 2, 2, 82 and HSL 240°, 95%, 16%. It is a dark colour, so white text on it reaches 18.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#020252#020252
HEX#020252
RGBrgb(2, 2, 82)
RGB (0–1)0.0078, 0.0078, 0.3216
RGB percentages0.8%, 0.8%, 32.2%
HSLhsl(240, 95.2%, 16.5%)
HSV / HSBhsv(240, 97.6%, 32.2%)
CMYK97.6%, 97.6%, 0%, 67.8%naive device-independent conversion; real print needs an ICC profile
24-bit integer131,666
CSS custom property--colour: #020252;

Brightness & contrast

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

Colour vision & accessibility

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

Named colours

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

Colour harmonies

Complementary#525202
Analogous#022A52, #2A0252
Triadic#520202, #025202
Split complementary#522A02, #2A5202
Tetradic#52022A, #525202, #02522A

Tints, shades & saturation

Lighter +40%#2626FA
Lighter +30%#0606E7
Lighter +20%#0404B6
Lighter +10%#030384
Darker −10%#010120
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#000054
Less saturated −25%#0D0D48

Channel breakdown

R2
G2
B82
Red2 (0.8%)
Green2 (0.8%)
Blue82 (32.2%)
Hue240°
Saturation (HSL)95.24%
Lightness16.47%
Dominant channelBlue
Hex per channelR 02 · G 02 · B 52

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