Nerdulator> put something in

Recognised as Colour

#042A97

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

#042A97 is a blue with RGB values 4, 42, 151 and HSL 224°, 95%, 30%. It is a dark colour, so white text on it reaches 11.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#042A97#042A97
HEX#042A97
RGBrgb(4, 42, 151)
RGB (0–1)0.0157, 0.1647, 0.5922
RGB percentages1.6%, 16.5%, 59.2%
HSLhsl(224.5, 94.8%, 30.4%)
HSV / HSBhsv(224.5, 97.4%, 59.2%)
CMYK97.4%, 72.2%, 0%, 40.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer273,047
CSS custom property--colour: #042A97;

Brightness & contrast

Relative luminance0.03916WCAG 2.x, 0 is black and 1 is white
Perceived brightness60.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.78:1
Contrast with white11.78:1WCAG normal text: AAA
Contrast with black1.78:1WCAG normal text: Fail
Greyscale equivalent#2A2A2A
Inverted#FBD568

Colour vision & accessibility

Protanopia#003F9Ano red cones; affects about 1% of men; ΔE 16.4 from the original
Deuteranopia#003195no green cones; the most common form, about 1% of men; ΔE 6.9 from the original
Tritanopia#00495Dno blue cones; rare, and affects men and women equally; ΔE 64.2 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text11.78:1WCAG large text: AAA
Contrast with black, large text1.78:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#977104
Analogous#047397, #280497
Triadic#97042A, #2A9704
Split complementary#972804, #749704
Tetradic#970473, #977104, #049728

Tints, shades & saturation

Lighter +40%#6C91FB
Lighter +30%#3A6CFA
Lighter +20%#0947F8
Lighter +10%#0538C9
Darker −10%#031C65
Darker −20%#010E34
Darker −30%#000102
Darker −40%#000000
More saturated +25%#00289B
Less saturated −25%#173384

Channel breakdown

R4
G42
B151
Red4 (1.6%)
Green42 (16.5%)
Blue151 (59.2%)
Hue224.49°
Saturation (HSL)94.84%
Lightness30.39%
Dominant channelBlue
Hex per channelR 04 · G 2A · B 97

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