Nerdulator> put something in

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

Protanopia#0055BEno red cones; affects about 1% of men; ΔE 16.3 from the original
Deuteranopia#0047B8no green cones; the most common form, about 1% of men; ΔE 7.8 from the original
Tritanopia#006177no blue cones; rare, and affects men and women equally; ΔE 69.8 from the original
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

Nearest named CSS colourSlate blue (#6A5ACD)ΔE 15.17, a distinctly different colour
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

Lighter +40%#BAC4F1
Lighter +30%#8F9FE9
Lighter +20%#657BE0
Lighter +10%#3A57D8
Darker −10%#1D318F
Darker −20%#142365
Darker −30%#0C143A
Darker −40%#030510
More saturated +25%#092ED6
Less saturated −25%#41529E

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.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “2540ba” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.