Nerdulator> put something in

Recognised as Colour

#172B8B

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

#172B8B is a blue with RGB values 23, 43, 139 and HSL 230°, 72%, 32%. It is a dark colour, so white text on it reaches 12:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#172B8B#172B8B
HEX#172B8B
RGBrgb(23, 43, 139)
RGB (0–1)0.0902, 0.1686, 0.5451
RGB percentages9%, 16.9%, 54.5%
HSLhsl(229.7, 71.6%, 31.8%)
HSV / HSBhsv(229.7, 83.5%, 54.5%)
CMYK83.5%, 69.1%, 0%, 45.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,518,475
CSS custom property--colour: #172B8B;

Brightness & contrast

Relative luminance0.03774WCAG 2.x, 0 is black and 1 is white
Perceived brightness58.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.97:1
Contrast with white11.97:1WCAG normal text: AAA
Contrast with black1.75:1WCAG normal text: Fail
Greyscale equivalent#2E2E2E
Inverted#E8D474

Colour vision & accessibility

Protanopia#003C8Eno red cones; affects about 1% of men; ΔE 13.8 from the original
Deuteranopia#003189no green cones; the most common form, about 1% of men; ΔE 6.8 from the original
Tritanopia#004557no blue cones; rare, and affects men and women equally; ΔE 57.3 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text11.97:1WCAG large text: AAA
Contrast with black, large text1.75:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#8B7717
Analogous#17658B, #3D178B
Triadic#8B172B, #2B8B17
Split complementary#8B3D17, #658B17
Tetradic#8B1765, #8B7717, #178B3D

Tints, shades & saturation

Lighter +40%#8395EB
Lighter +30%#5870E3
Lighter +20%#2C4ADC
Lighter +10%#1E39B7
Darker −10%#101D5F
Darker −20%#091033
Darker −30%#010208
Darker −40%#000000
More saturated +25%#031E9F
Less saturated −25%#2B3877

Channel breakdown

R23
G43
B139
Red23 (9%)
Green43 (16.9%)
Blue139 (54.5%)
Hue229.66°
Saturation (HSL)71.6%
Lightness31.76%
Dominant channelBlue
Hex per channelR 17 · G 2B · B 8B

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