Nerdulator> put something in

Recognised as Colour

#04124D

  • #04124D
  • Blue
  • Dark
  • Nearest: Midnight blue

#04124D is a blue with RGB values 4, 18, 77 and HSL 228°, 90%, 16%. It is a dark colour, so white text on it reaches 17.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#04124D#04124D
HEX#04124D
RGBrgb(4, 18, 77)
RGB (0–1)0.0157, 0.0706, 0.302
RGB percentages1.6%, 7.1%, 30.2%
HSLhsl(228.5, 90.1%, 15.9%)
HSV / HSBhsv(228.5, 94.8%, 30.2%)
CMYK94.8%, 76.6%, 0%, 69.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer266,829
CSS custom property--colour: #04124D;

Brightness & contrast

Relative luminance0.00994WCAG 2.x, 0 is black and 1 is white
Perceived brightness29.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.52:1
Contrast with white17.52:1WCAG normal text: AAA
Contrast with black1.2:1WCAG normal text: Fail
Greyscale equivalent#131313
Inverted#FBEDB2

Colour vision & accessibility

Protanopia#001D4Fno red cones; affects about 1% of men; ΔE 9.6 from the original
Deuteranopia#00164Cno green cones; the most common form, about 1% of men; ΔE 4.5 from the original
Tritanopia#00232Dno blue cones; rare, and affects men and women equally; ΔE 39.9 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.52:1WCAG large text: AAA
Contrast with black, large text1.2:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#4D3F04
Analogous#04374D, #1B044D
Triadic#4D0412, #124D04
Split complementary#4D1A04, #374D04
Tetradic#4D0436, #4D3F04, #044D1A

Tints, shades & saturation

Lighter +40%#2950F4
Lighter +30%#0C34DE
Lighter +20%#0929AE
Lighter +10%#071D7D
Darker −10%#01071D
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#001051
Less saturated −25%#0E1843

Channel breakdown

R4
G18
B77
Red4 (1.6%)
Green18 (7.1%)
Blue77 (30.2%)
Hue228.49°
Saturation (HSL)90.12%
Lightness15.88%
Dominant channelBlue
Hex per channelR 04 · G 12 · B 4D

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