Nerdulator> put something in

Recognised as Colour

#1F177A

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

#1F177A is a blue with RGB values 31, 23, 122 and HSL 245°, 68%, 28%. It is a dark colour, so white text on it reaches 14.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#1F177A#1F177A
HEX#1F177A
RGBrgb(31, 23, 122)
RGB (0–1)0.1216, 0.0902, 0.4784
RGB percentages12.2%, 9%, 47.8%
HSLhsl(244.8, 68.3%, 28.4%)
HSV / HSBhsv(244.8, 81.1%, 47.8%)
CMYK74.6%, 81.1%, 0%, 52.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,037,626
CSS custom property--colour: #1F177A;

Brightness & contrast

Relative luminance0.02309WCAG 2.x, 0 is black and 1 is white
Perceived brightness47.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.37:1
Contrast with white14.37:1WCAG normal text: AAA
Contrast with black1.46:1WCAG normal text: Fail
Greyscale equivalent#202020
Inverted#E0E885

Colour vision & accessibility

Protanopia#002E7Dno red cones; affects about 1% of men; ΔE 17.8 from the original
Deuteranopia#002578no green cones; the most common form, about 1% of men; ΔE 12.7 from the original
Tritanopia#003548no blue cones; rare, and affects men and women equally; ΔE 58.8 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.37:1WCAG large text: AAA
Contrast with black, large text1.46:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 6.98, clearly different but related
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#727A17
Analogous#17417A, #50177A
Triadic#7A1F17, #177A1F
Split complementary#7A5017, #417A17
Tetradic#7A1741, #727A17, #177A50

Tints, shades & saturation

Lighter +40%#8078E5
Lighter +30%#584DDD
Lighter +20%#3527D0
Lighter +10%#2A1FA5
Darker −10%#140F4F
Darker −20%#090724
Darker −30%#000000
Darker −40%#000000
More saturated +25%#10058C
Less saturated −25%#2E2968

Channel breakdown

R31
G23
B122
Red31 (12.2%)
Green23 (9%)
Blue122 (47.8%)
Hue244.85°
Saturation (HSL)68.28%
Lightness28.43%
Dominant channelBlue
Hex per channelR 1F · G 17 · B 7A

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