Nerdulator> put something in

Recognised as Colour

#022878

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

#022878 is a blue with RGB values 2, 40, 120 and HSL 221°, 97%, 24%. It is a dark colour, so white text on it reaches 13.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#022878#022878
HEX#022878
RGBrgb(2, 40, 120)
RGB (0–1)0.0078, 0.1569, 0.4706
RGB percentages0.8%, 15.7%, 47.1%
HSLhsl(220.7, 96.7%, 23.9%)
HSV / HSBhsv(220.7, 98.3%, 47.1%)
CMYK98.3%, 66.7%, 0%, 52.9%naive device-independent conversion; real print needs an ICC profile
24-bit integer141,432
CSS custom property--colour: #022878;

Brightness & contrast

Relative luminance0.02887WCAG 2.x, 0 is black and 1 is white
Perceived brightness50.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.31:1
Contrast with white13.31:1WCAG normal text: AAA
Contrast with black1.58:1WCAG normal text: Fail
Greyscale equivalent#262626
Inverted#FDD787

Colour vision & accessibility

Protanopia#00357Bno red cones; affects about 1% of men; ΔE 10.3 from the original
Deuteranopia#002A77no green cones; the most common form, about 1% of men; ΔE 2.4 from the original
Tritanopia#003E4Cno blue cones; rare, and affects men and women equally; ΔE 49.7 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.31:1WCAG large text: AAA
Contrast with black, large text1.58:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#785202
Analogous#026378, #170278
Triadic#780228, #287802
Split complementary#781702, #637802
Tetradic#780263, #785202, #027817

Tints, shades & saturation

Lighter +40%#4A83FC
Lighter +30%#1861FB
Lighter +20%#0449DC
Lighter +10%#0339AA
Darker −10%#011746
Darker −20%#000714
Darker −30%#000000
Darker −40%#000000
More saturated +25%#00277A
Less saturated −25%#112D69

Channel breakdown

R2
G40
B120
Red2 (0.8%)
Green40 (15.7%)
Blue120 (47.1%)
Hue220.68°
Saturation (HSL)96.72%
Lightness23.92%
Dominant channelBlue
Hex per channelR 02 · G 28 · B 78

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