Nerdulator> put something in

Recognised as Colour

#040952

  • #040952
  • Blue
  • Dark
  • Nearest: Midnight blue

#040952 is a blue with RGB values 4, 9, 82 and HSL 236°, 91%, 17%. It is a dark colour, so white text on it reaches 18:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#040952#040952
HEX#040952
RGBrgb(4, 9, 82)
RGB (0–1)0.0157, 0.0353, 0.3216
RGB percentages1.6%, 3.5%, 32.2%
HSLhsl(236.2, 90.7%, 16.9%)
HSV / HSBhsv(236.2, 95.1%, 32.2%)
CMYK95.1%, 89%, 0%, 67.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer264,530
CSS custom property--colour: #040952;

Brightness & contrast

Relative luminance0.0083WCAG 2.x, 0 is black and 1 is white
Perceived brightness28.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.01:1
Contrast with white18.01:1WCAG normal text: AAA
Contrast with black1.17:1WCAG normal text: Fail
Greyscale equivalent#0D0D0D
Inverted#FBF6AD

Colour vision & accessibility

Protanopia#001B54no red cones; affects about 1% of men; ΔE 14.3 from the original
Deuteranopia#001251no green cones; the most common form, about 1% of men; ΔE 7.7 from the original
Tritanopia#00212Eno blue cones; rare, and affects men and women equally; ΔE 47.1 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.01:1WCAG large text: AAA
Contrast with black, large text1.17:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#524D04
Analogous#043052, #260452
Triadic#520409, #095204
Split complementary#522604, #305204
Tetradic#520430, #524D04, #045226

Tints, shades & saturation

Lighter +40%#2D3AF5
Lighter +30%#0B19E4
Lighter +20%#0914B3
Lighter +10%#060E83
Darker −10%#020421
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#000656
Less saturated −25%#0F1247

Channel breakdown

R4
G9
B82
Red4 (1.6%)
Green9 (3.5%)
Blue82 (32.2%)
Hue236.15°
Saturation (HSL)90.7%
Lightness16.86%
Dominant channelBlue
Hex per channelR 04 · G 09 · B 52

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