Nerdulator> put something in

Recognised as Colour

#2A40CB

  • #2A40CB
  • Blue
  • Dark
  • Nearest: Medium slateblue

#2A40CB is a blue with RGB values 42, 64, 203 and HSL 232°, 66%, 48%. It is a dark colour, so white text on it reaches 7.8:1 contrast (AAA for normal text). The nearest named colour is Medium slateblue.

Colour values

#2A40CB#2A40CB
HEX#2A40CB
RGBrgb(42, 64, 203)
RGB (0–1)0.1647, 0.251, 0.7961
RGB percentages16.5%, 25.1%, 79.6%
HSLhsl(231.8, 65.7%, 48%)
HSV / HSBhsv(231.8, 79.3%, 79.6%)
CMYK79.3%, 68.5%, 0%, 20.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,769,099
CSS custom property--colour: #2A40CB;

Brightness & contrast

Relative luminance0.08471WCAG 2.x, 0 is black and 1 is white
Perceived brightness87.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.79:1
Contrast with white7.79:1WCAG normal text: AAA
Contrast with black2.69:1WCAG normal text: Fail
Greyscale equivalent#454545
Inverted#D5BF34

Colour vision & accessibility

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

Named colours

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

Colour harmonies

Complementary#CBB52A
Analogous#2A91CB, #642ACB
Triadic#CB2A40, #40CB2A
Split complementary#CB652A, #90CB2A
Tetradic#CB2A91, #CBB52A, #2ACB64

Tints, shades & saturation

Lighter +40%#CCD2F5
Lighter +30%#A2ACEC
Lighter +20%#7887E3
Lighter +10%#4E61DA
Darker −10%#2133A1
Darker −20%#192576
Darker −30%#10184C
Darker −40%#070B22
More saturated +25%#0B2AEA
Less saturated −25%#4956AC

Channel breakdown

R42
G64
B203
Red42 (16.5%)
Green64 (25.1%)
Blue203 (79.6%)
Hue231.8°
Saturation (HSL)65.71%
Lightness48.04%
Dominant channelBlue
Hex per channelR 2A · 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 “2a40cb” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.