Nerdulator> put something in

Recognised as Colour

#2A317F

  • #2A317F
  • Blue
  • Dark
  • Nearest: Dark slateblue

#2A317F is a blue with RGB values 42, 49, 127 and HSL 235°, 50%, 33%. It is a dark colour, so white text on it reaches 11.4:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.

Colour values

#2A317F#2A317F
HEX#2A317F
RGBrgb(42, 49, 127)
RGB (0–1)0.1647, 0.1922, 0.498
RGB percentages16.5%, 19.2%, 49.8%
HSLhsl(235.1, 50.3%, 33.1%)
HSV / HSBhsv(235.1, 66.9%, 49.8%)
CMYK66.9%, 61.4%, 0%, 50.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,765,183
CSS custom property--colour: #2A317F;

Brightness & contrast

Relative luminance0.04221WCAG 2.x, 0 is black and 1 is white
Perceived brightness61.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.39:1
Contrast with white11.39:1WCAG normal text: AAA
Contrast with black1.84:1WCAG normal text: Fail
Greyscale equivalent#353535
Inverted#D5CE80

Colour vision & accessibility

Protanopia#003E82no red cones; affects about 1% of men; ΔE 12.7 from the original
Deuteranopia#00367Dno green cones; the most common form, about 1% of men; ΔE 8.8 from the original
Tritanopia#004453no blue cones; rare, and affects men and women equally; ΔE 47.8 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text11.39:1WCAG large text: AAA
Contrast with black, large text1.84:1WCAG large text: Fail

Named colours

Nearest named CSS colourDark slateblue (#483D8B)ΔE 7.51, clearly different but related
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#7F782A
Analogous#2A5C7F, #4D2A7F
Triadic#7F2A31, #317F2A
Split complementary#7F4D2A, #5B7F2A
Tetradic#7F2A5C, #7F782A, #2A7F4D

Tints, shades & saturation

Lighter +40%#989EDD
Lighter +30%#727AD0
Lighter +20%#4B55C4
Lighter +10%#3740A5
Darker −10%#1D2259
Darker −20%#111332
Darker −30%#04050C
Darker −40%#000000
More saturated +25%#151F94
Less saturated −25%#3F436A

Channel breakdown

R42
G49
B127
Red42 (16.5%)
Green49 (19.2%)
Blue127 (49.8%)
Hue235.06°
Saturation (HSL)50.3%
Lightness33.14%
Dominant channelBlue
Hex per channelR 2A · G 31 · B 7F

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