Recognised as Colour
#28248D
- #28248D
- Blue
- Dark
- Nearest: Midnight blue
#28248D is a blue with RGB values 40, 36, 141 and HSL 242°, 59%, 35%. It is a dark colour, so white text on it reaches 12.2:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#28248D#28248D
HEX#28248D
RGBrgb(40, 36, 141)
RGB (0–1)0.1569, 0.1412, 0.5529
RGB percentages15.7%, 14.1%, 55.3%
HSLhsl(242.3, 59.3%, 34.7%)
HSV / HSBhsv(242.3, 74.5%, 55.3%)
CMYK71.6%, 74.5%, 0%, 44.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,630,797
CSS custom property--colour: #28248D;
Brightness & contrast
Relative luminance0.03636WCAG 2.x, 0 is black and 1 is white
Perceived brightness59.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.16:1
Contrast with white12.16:1WCAG normal text: AAA
Contrast with black1.73:1WCAG normal text: Fail
Greyscale equivalent#2C2C2C
Inverted#D7DB72
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.16:1WCAG large text: AAA
Contrast with black, large text1.73:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#898D24
Analogous#24558D, #5C248D
Triadic#8D2824, #248D28
Split complementary#8D5C24, #558D24
Tetradic#8D2455, #898D24, #248D5C
Tints, shades & saturation
Channel breakdown
R40
G36
B141
Red40 (15.7%)
Green36 (14.1%)
Blue141 (55.3%)
Hue242.29°
Saturation (HSL)59.32%
Lightness34.71%
Dominant channelBlue
Hex per channelR 28 · G 24 · B 8D
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