Nerdulator> put something in

Recognised as Colour

#040DB4

  • #040DB4
  • Blue
  • Dark
  • Nearest: Medium blue

#040DB4 is a blue with RGB values 4, 13, 180 and HSL 237°, 96%, 36%. It is a dark colour, so white text on it reaches 12.2:1 contrast (AAA for normal text). The nearest named colour is Medium blue.

Colour values

#040DB4#040DB4
HEX#040DB4
RGBrgb(4, 13, 180)
RGB (0–1)0.0157, 0.051, 0.7059
RGB percentages1.6%, 5.1%, 70.6%
HSLhsl(236.9, 95.7%, 36.1%)
HSV / HSBhsv(236.9, 97.8%, 70.6%)
CMYK97.8%, 92.8%, 0%, 29.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer265,652
CSS custom property--colour: #040DB4;

Brightness & contrast

Relative luminance0.03609WCAG 2.x, 0 is black and 1 is white
Perceived brightness61.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.2:1
Contrast with white12.2:1WCAG normal text: AAA
Contrast with black1.72:1WCAG normal text: Fail
Greyscale equivalent#171717
Inverted#FBF24B

Colour vision & accessibility

Protanopia#003EB8no red cones; affects about 1% of men; ΔE 28.8 from the original
Deuteranopia#002CB1no green cones; the most common form, about 1% of men; ΔE 18.2 from the original
Tritanopia#004B69no blue cones; rare, and affects men and women equally; ΔE 88.1 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.2:1WCAG large text: AAA
Contrast with black, large text1.72:1WCAG large text: Fail

Named colours

Nearest named CSS colourMedium blue (#0000CD)ΔE 14.26, a distinctly different colour
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#B4AB04
Analogous#0465B4, #5304B4
Triadic#B4040D, #0DB404
Split complementary#B45304, #65B404
Tetradic#B40465, #B4AB04, #04B453

Tints, shades & saturation

Lighter +40%#888EFC
Lighter +30%#565EFB
Lighter +20%#242FFA
Lighter +10%#0511E6
Darker −10%#030982
Darker −20%#020650
Darker −30%#01021E
Darker −40%#000000
More saturated +25%#0009B8
Less saturated −25%#1B229D

Channel breakdown

R4
G13
B180
Red4 (1.6%)
Green13 (5.1%)
Blue180 (70.6%)
Hue236.93°
Saturation (HSL)95.65%
Lightness36.08%
Dominant channelBlue
Hex per channelR 04 · G 0D · B B4

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