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
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
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
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.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page