Nerdulator> put something in

Recognised as Colour

#2040CB

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

#2040CB is a blue with RGB values 32, 64, 203 and HSL 229°, 73%, 46%. 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

#2040CB#2040CB
HEX#2040CB
RGBrgb(32, 64, 203)
RGB (0–1)0.1255, 0.251, 0.7961
RGB percentages12.5%, 25.1%, 79.6%
HSLhsl(228.8, 72.8%, 46.1%)
HSV / HSBhsv(228.8, 84.2%, 79.6%)
CMYK84.2%, 68.5%, 0%, 20.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,113,739
CSS custom property--colour: #2040CB;

Brightness & contrast

Relative luminance0.08286WCAG 2.x, 0 is black and 1 is white
Perceived brightness86.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.9:1
Contrast with white7.9:1WCAG normal text: AAA
Contrast with black2.66:1WCAG normal text: Fail
Greyscale equivalent#434343
Inverted#DFBF34

Colour vision & accessibility

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

Named colours

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

Colour harmonies

Complementary#CBAB20
Analogous#2095CB, #5620CB
Triadic#CB2040, #40CB20
Split complementary#CB5620, #95CB20
Tetradic#CB2095, #CBAB20, #20CB56

Tints, shades & saturation

Lighter +40%#C2CBF5
Lighter +30%#96A6EE
Lighter +20%#6A81E7
Lighter +10%#3E5CE0
Darker −10%#19329F
Darker −20%#122473
Darker −30%#0B1647
Darker −40%#04081B
More saturated +25%#032EE8
Less saturated −25%#3D52AE

Channel breakdown

R32
G64
B203
Red32 (12.5%)
Green64 (25.1%)
Blue203 (79.6%)
Hue228.77°
Saturation (HSL)72.77%
Lightness46.08%
Dominant channelBlue
Hex per channelR 20 · 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 “2040cb” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.