Recognised as Colour
#2540BA
- #2540BA
- Blue
- Dark
- Nearest: Slate blue
#2540BA is a blue with RGB values 37, 64, 186 and HSL 229°, 67%, 44%. It is a dark colour, so white text on it reaches 8.3:1 contrast (AAA for normal text). The nearest named colour is Slate blue.
Colour values
#2540BA#2540BA
HEX#2540BA
RGBrgb(37, 64, 186)
RGB (0–1)0.1451, 0.251, 0.7294
RGB percentages14.5%, 25.1%, 72.9%
HSLhsl(229.1, 66.8%, 43.7%)
HSV / HSBhsv(229.1, 80.1%, 72.9%)
CMYK80.1%, 65.6%, 0%, 27.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,441,402
CSS custom property--colour: #2540BA;
Brightness & contrast
Relative luminance0.07605WCAG 2.x, 0 is black and 1 is white
Perceived brightness82.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 8.33:1
Contrast with white8.33:1WCAG normal text: AAA
Contrast with black2.52:1WCAG normal text: Fail
Greyscale equivalent#434343
Inverted#DABF45
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text8.33:1WCAG large text: AAA
Contrast with black, large text2.52:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#BA9F25
Analogous#258ABA, #5425BA
Triadic#BA2540, #40BA25
Split complementary#BA5525, #8ABA25
Tetradic#BA258B, #BA9F25, #25BA55
Tints, shades & saturation
Channel breakdown
R37
G64
B186
Red37 (14.5%)
Green64 (25.1%)
Blue186 (72.9%)
Hue229.13°
Saturation (HSL)66.82%
Lightness43.73%
Dominant channelBlue
Hex per channelR 25 · G 40 · B BA
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