Nerdulator> put something in

Recognised as Colour

#1F1772

  • #1F1772
  • Blue
  • Dark
  • Nearest: Midnight blue

#1F1772 is a blue with RGB values 31, 23, 114 and HSL 245°, 66%, 27%. It is a dark colour, so white text on it reaches 14.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#1F1772#1F1772
HEX#1F1772
RGBrgb(31, 23, 114)
RGB (0–1)0.1216, 0.0902, 0.4471
RGB percentages12.2%, 9%, 44.7%
HSLhsl(245.3, 66.4%, 26.9%)
HSV / HSBhsv(245.3, 79.8%, 44.7%)
CMYK72.8%, 79.8%, 0%, 55.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,037,618
CSS custom property--colour: #1F1772;

Brightness & contrast

Relative luminance0.02119WCAG 2.x, 0 is black and 1 is white
Perceived brightness45.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.75:1
Contrast with white14.75:1WCAG normal text: AAA
Contrast with black1.42:1WCAG normal text: Fail
Greyscale equivalent#1F1F1F
Inverted#E0E88D

Colour vision & accessibility

Protanopia#002C75no red cones; affects about 1% of men; ΔE 16.9 from the original
Deuteranopia#002470no green cones; the most common form, about 1% of men; ΔE 12.5 from the original
Tritanopia#003244no blue cones; rare, and affects men and women equally; ΔE 54.7 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.75:1WCAG large text: AAA
Contrast with black, large text1.42:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 2.67, a close match
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#6A7217
Analogous#173D72, #4C1772
Triadic#721F17, #17721F
Split complementary#724C17, #3D7217
Tetradic#72173D, #6A7217, #17724C

Tints, shades & saturation

Lighter +40%#7C72E3
Lighter +30%#5548DA
Lighter +20%#3628C7
Lighter +10%#2B209C
Darker −10%#130E48
Darker −20%#08061D
Darker −30%#000000
Darker −40%#000000
More saturated +25%#110683
Less saturated −25%#2D2861

Channel breakdown

R31
G23
B114
Red31 (12.2%)
Green23 (9%)
Blue114 (44.7%)
Hue245.27°
Saturation (HSL)66.42%
Lightness26.86%
Dominant channelBlue
Hex per channelR 1F · G 17 · B 72

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