Nerdulator> put something in

Recognised as Colour

#04178B

  • #04178B
  • Blue
  • Dark
  • Nearest: Navy

#04178B is a blue with RGB values 4, 23, 139 and HSL 232°, 94%, 28%. It is a dark colour, so white text on it reaches 14:1 contrast (AAA for normal text). The nearest named colour is Navy.

Colour values

#04178B#04178B
HEX#04178B
RGBrgb(4, 23, 139)
RGB (0–1)0.0157, 0.0902, 0.5451
RGB percentages1.6%, 9%, 54.5%
HSLhsl(231.6, 94.4%, 28%)
HSV / HSBhsv(231.6, 97.1%, 54.5%)
CMYK97.1%, 83.5%, 0%, 45.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer268,171
CSS custom property--colour: #04178B;

Brightness & contrast

Relative luminance0.02503WCAG 2.x, 0 is black and 1 is white
Perceived brightness50.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.99:1
Contrast with white13.99:1WCAG normal text: AAA
Contrast with black1.5:1WCAG normal text: Fail
Greyscale equivalent#1B1B1B
Inverted#FBE874

Colour vision & accessibility

Protanopia#00328Eno red cones; affects about 1% of men; ΔE 19.6 from the original
Deuteranopia#002589no green cones; the most common form, about 1% of men; ΔE 11.2 from the original
Tritanopia#003D52no blue cones; rare, and affects men and women equally; ΔE 68.2 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.99:1WCAG large text: AAA
Contrast with black, large text1.5:1WCAG large text: Fail

Named colours

Nearest named CSS colourNavy (#000080)ΔE 8.05, clearly different but related
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#8B7804
Analogous#045B8B, #34048B
Triadic#8B0417, #178B04
Split complementary#8B3404, #5B8B04
Tetradic#8B045B, #8B7804, #048B34

Tints, shades & saturation

Lighter +40%#6176FA
Lighter +30%#2F4BF9
Lighter +20%#0727EE
Lighter +10%#051FBD
Darker −10%#030F59
Darker −20%#010728
Darker −30%#000000
Darker −40%#000000
More saturated +25%#00148F
Less saturated −25%#162479

Channel breakdown

R4
G23
B139
Red4 (1.6%)
Green23 (9%)
Blue139 (54.5%)
Hue231.56°
Saturation (HSL)94.41%
Lightness28.04%
Dominant channelBlue
Hex per channelR 04 · G 17 · 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 “04178b” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.