Nerdulator> put something in

Recognised as Colour

#04015B

  • #04015B
  • Blue
  • Dark
  • Nearest: Midnight blue

#04015B is a blue with RGB values 4, 1, 91 and HSL 242°, 98%, 18%. It is a dark colour, so white text on it reaches 18.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#04015B#04015B
HEX#04015B
RGBrgb(4, 1, 91)
RGB (0–1)0.0157, 0.0039, 0.3569
RGB percentages1.6%, 0.4%, 35.7%
HSLhsl(242, 97.8%, 18%)
HSV / HSBhsv(242, 98.9%, 35.7%)
CMYK95.6%, 98.9%, 0%, 64.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer262,491
CSS custom property--colour: #04015B;

Brightness & contrast

Relative luminance0.00803WCAG 2.x, 0 is black and 1 is white
Perceived brightness30.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.09:1
Contrast with white18.09:1WCAG normal text: AAA
Contrast with black1.16:1WCAG normal text: Fail
Greyscale equivalent#080808
Inverted#FBFEA4

Colour vision & accessibility

Protanopia#001B5Dno red cones; affects about 1% of men; ΔE 18.9 from the original
Deuteranopia#00115Ano green cones; the most common form, about 1% of men; ΔE 11.8 from the original
Tritanopia#002232no blue cones; rare, and affects men and women equally; ΔE 55.3 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text18.09:1WCAG large text: AAA
Contrast with black, large text1.16:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#585B01
Analogous#012B5B, #31015B
Triadic#5B0401, #015B04
Split complementary#5B3101, #2B5B01
Tetradic#5B012B, #585B01, #015B31

Tints, shades & saturation

Lighter +40%#322BFD
Lighter +30%#0B03F2
Lighter +20%#0802C0
Lighter +10%#06028D
Darker −10%#020029
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#03005C
Less saturated −25%#0F0C50

Channel breakdown

R4
G1
B91
Red4 (1.6%)
Green1 (0.4%)
Blue91 (35.7%)
Hue242°
Saturation (HSL)97.83%
Lightness18.04%
Dominant channelBlue
Hex per channelR 04 · G 01 · B 5B

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