Nerdulator> put something in

Recognised as Colour

#28226D

  • #28226D
  • Blue
  • Dark
  • Nearest: Midnight blue

#28226D is a blue with RGB values 40, 34, 109 and HSL 245°, 52%, 28%. It is a dark colour, so white text on it reaches 13.6:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#28226D#28226D
HEX#28226D
RGBrgb(40, 34, 109)
RGB (0–1)0.1569, 0.1333, 0.4275
RGB percentages15.7%, 13.3%, 42.7%
HSLhsl(244.8, 52.4%, 28%)
HSV / HSBhsv(244.8, 68.8%, 42.7%)
CMYK63.3%, 68.8%, 0%, 57.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,630,253
CSS custom property--colour: #28226D;

Brightness & contrast

Relative luminance0.02699WCAG 2.x, 0 is black and 1 is white
Perceived brightness50.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.64:1
Contrast with white13.64:1WCAG normal text: AAA
Contrast with black1.54:1WCAG normal text: Fail
Greyscale equivalent#292929
Inverted#D7DD92

Colour vision & accessibility

Protanopia#00316Fno red cones; affects about 1% of men; ΔE 15 from the original
Deuteranopia#002B6Cno green cones; the most common form, about 1% of men; ΔE 11.5 from the original
Tritanopia#003544no blue cones; rare, and affects men and women equally; ΔE 46.7 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text13.64:1WCAG large text: AAA
Contrast with black, large text1.54:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#676D22
Analogous#22426D, #4D226D
Triadic#6D2822, #226D28
Split complementary#6D4E22, #416D22
Tetradic#6D2242, #676D22, #226D4D

Tints, shades & saturation

Lighter +40%#8A83D8
Lighter +30%#655CCC
Lighter +20%#453ABB
Lighter +10%#362E94
Darker −10%#1A1646
Darker −20%#0B0A1F
Darker −30%#000000
Darker −40%#000000
More saturated +25%#19107F
Less saturated −25%#37345B

Channel breakdown

R40
G34
B109
Red40 (15.7%)
Green34 (13.3%)
Blue109 (42.7%)
Hue244.8°
Saturation (HSL)52.45%
Lightness28.04%
Dominant channelBlue
Hex per channelR 28 · G 22 · B 6D

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