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
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
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
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.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page