Nerdulator> put something in

Recognised as Colour

#172F8E

  • #172F8E
  • Blue
  • Dark
  • Nearest: Midnight blue

#172F8E is a blue with RGB values 23, 47, 142 and HSL 228°, 72%, 32%. It is a dark colour, so white text on it reaches 11.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#172F8E#172F8E
HEX#172F8E
RGBrgb(23, 47, 142)
RGB (0–1)0.0902, 0.1843, 0.5569
RGB percentages9%, 18.4%, 55.7%
HSLhsl(227.9, 72.1%, 32.4%)
HSV / HSBhsv(227.9, 83.8%, 55.7%)
CMYK83.8%, 66.9%, 0%, 44.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,519,502
CSS custom property--colour: #172F8E;

Brightness & contrast

Relative luminance0.04168WCAG 2.x, 0 is black and 1 is white
Perceived brightness61.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.45:1
Contrast with white11.45:1WCAG normal text: AAA
Contrast with black1.83:1WCAG normal text: Fail
Greyscale equivalent#313131
Inverted#E8D071

Colour vision & accessibility

Protanopia#003F91no red cones; affects about 1% of men; ΔE 13 from the original
Deuteranopia#00348Cno green cones; the most common form, about 1% of men; ΔE 6.1 from the original
Tritanopia#00495Ano blue cones; rare, and affects men and women equally; ΔE 57.2 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text11.45:1WCAG large text: AAA
Contrast with black, large text1.83:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 10.4, a distinctly different colour
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#8E7617
Analogous#176B8E, #3A178E
Triadic#8E172F, #2F8E17
Split complementary#8E3A17, #6B8E17
Tetradic#8E176B, #8E7617, #178E3A

Tints, shades & saturation

Lighter +40%#869AEB
Lighter +30%#5A76E4
Lighter +20%#2E51DD
Lighter +10%#1E3EBA
Darker −10%#102062
Darker −20%#091236
Darker −30%#02030A
Darker −40%#000000
More saturated +25%#0223A3
Less saturated −25%#2C3B79

Channel breakdown

R23
G47
B142
Red23 (9%)
Green47 (18.4%)
Blue142 (55.7%)
Hue227.9°
Saturation (HSL)72.12%
Lightness32.35%
Dominant channelBlue
Hex per channelR 17 · G 2F · B 8E

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