Nerdulator> put something in

Recognised as Colour

#2540CB

  • #2540CB
  • Blue
  • Dark
  • Nearest: Medium slateblue

#2540CB is a blue with RGB values 37, 64, 203 and HSL 230°, 69%, 47%. It is a dark colour, so white text on it reaches 7.9:1 contrast (AAA for normal text). The nearest named colour is Medium slateblue.

Colour values

#2540CB#2540CB
HEX#2540CB
RGBrgb(37, 64, 203)
RGB (0–1)0.1451, 0.251, 0.7961
RGB percentages14.5%, 25.1%, 79.6%
HSLhsl(230.2, 69.2%, 47.1%)
HSV / HSBhsv(230.2, 81.8%, 79.6%)
CMYK81.8%, 68.5%, 0%, 20.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,441,419
CSS custom property--colour: #2540CB;

Brightness & contrast

Relative luminance0.08372WCAG 2.x, 0 is black and 1 is white
Perceived brightness86.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.85:1
Contrast with white7.85:1WCAG normal text: AAA
Contrast with black2.67:1WCAG normal text: Fail
Greyscale equivalent#444444
Inverted#DABF34

Colour vision & accessibility

Protanopia#005ACFno red cones; affects about 1% of men; ΔE 19.7 from the original
Deuteranopia#004AC8no green cones; the most common form, about 1% of men; ΔE 10.1 from the original
Tritanopia#006780no blue cones; rare, and affects men and women equally; ΔE 78.1 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.85:1WCAG large text: AAA
Contrast with black, large text2.67:1WCAG large text: Fail

Named colours

Nearest named CSS colourMedium slateblue (#7B68EE)ΔE 19.46, a distinctly different colour
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#CBB025
Analogous#2593CB, #5D25CB
Triadic#CB2540, #40CB25
Split complementary#CB5D25, #93CB25
Tetradic#CB2593, #CBB025, #25CB5D

Tints, shades & saturation

Lighter +40%#C7CFF5
Lighter +30%#9CA9ED
Lighter +20%#7184E5
Lighter +10%#465EDD
Darker −10%#1D32A0
Darker −20%#152575
Darker −30%#0D174A
Darker −40%#060A1E
More saturated +25%#072CE9
Less saturated −25%#4354AD

Channel breakdown

R37
G64
B203
Red37 (14.5%)
Green64 (25.1%)
Blue203 (79.6%)
Hue230.24°
Saturation (HSL)69.17%
Lightness47.06%
Dominant channelBlue
Hex per channelR 25 · G 40 · B CB

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 “2540cb” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.