Recognised as Colour
#252C7E
- #252C7E
- Blue
- Dark
- Nearest: Midnight blue
#252C7E is a blue with RGB values 37, 44, 126 and HSL 235°, 55%, 32%. It is a dark colour, so white text on it reaches 12.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#252C7E#252C7E
HEX#252C7E
RGBrgb(37, 44, 126)
RGB (0–1)0.1451, 0.1725, 0.4941
RGB percentages14.5%, 17.3%, 49.4%
HSLhsl(235.3, 54.6%, 32%)
HSV / HSBhsv(235.3, 70.6%, 49.4%)
CMYK70.6%, 65.1%, 0%, 50.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,436,222
CSS custom property--colour: #252C7E;
Brightness & contrast
Relative luminance0.03701WCAG 2.x, 0 is black and 1 is white
Perceived brightness57.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.07:1
Contrast with white12.07:1WCAG normal text: AAA
Contrast with black1.74:1WCAG normal text: Fail
Greyscale equivalent#303030
Inverted#DAD381
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12.07:1WCAG large text: AAA
Contrast with black, large text1.74:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7E7725
Analogous#25587E, #4B257E
Triadic#7E252C, #2C7E25
Split complementary#7E4B25, #587E25
Tetradic#7E2558, #7E7725, #257E4B
Tints, shades & saturation
Channel breakdown
R37
G44
B126
Red37 (14.5%)
Green44 (17.3%)
Blue126 (49.4%)
Hue235.28°
Saturation (HSL)54.6%
Lightness31.96%
Dominant channelBlue
Hex per channelR 25 · G 2C · B 7E
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