Nerdulator> put something in

Recognised as Colour

#042C7F

  • #042C7F
  • Blue
  • Dark
  • Nearest: Midnight blue

#042C7F is a blue with RGB values 4, 44, 127 and HSL 220°, 94%, 26%. It is a dark colour, so white text on it reaches 12.6:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#042C7F#042C7F
HEX#042C7F
RGBrgb(4, 44, 127)
RGB (0–1)0.0157, 0.1725, 0.498
RGB percentages1.6%, 17.3%, 49.8%
HSLhsl(220.5, 93.9%, 25.7%)
HSV / HSBhsv(220.5, 96.9%, 49.8%)
CMYK96.9%, 65.4%, 0%, 50.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer273,535
CSS custom property--colour: #042C7F;

Brightness & contrast

Relative luminance0.03359WCAG 2.x, 0 is black and 1 is white
Perceived brightness54.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.56:1
Contrast with white12.56:1WCAG normal text: AAA
Contrast with black1.67:1WCAG normal text: Fail
Greyscale equivalent#292929
Inverted#FBD380

Colour vision & accessibility

Protanopia#003982no red cones; affects about 1% of men; ΔE 10.2 from the original
Deuteranopia#002E7Dno green cones; the most common form, about 1% of men; ΔE 3.1 from the original
Tritanopia#004251no blue cones; rare, and affects men and women equally; ΔE 50.7 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.56:1WCAG large text: AAA
Contrast with black, large text1.67:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#7F5704
Analogous#046A7F, #19047F
Triadic#7F042C, #2C7F04
Split complementary#7F1A04, #697F04
Tetradic#7F046A, #7F5704, #047F19

Tints, shades & saturation

Lighter +40%#558BFA
Lighter +30%#2469F8
Lighter +20%#074EE2
Lighter +10%#063DB0
Darker −10%#021B4E
Darker −20%#010A1C
Darker −30%#000000
Darker −40%#000000
More saturated +25%#002B83
Less saturated −25%#14326F

Channel breakdown

R4
G44
B127
Red4 (1.6%)
Green44 (17.3%)
Blue127 (49.8%)
Hue220.49°
Saturation (HSL)93.89%
Lightness25.69%
Dominant channelBlue
Hex per channelR 04 · G 2C · B 7F

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