Nerdulator> put something in

Recognised as Colour

#040367

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

#040367 is a blue with RGB values 4, 3, 103 and HSL 241°, 94%, 21%. It is a dark colour, so white text on it reaches 17.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#040367#040367
HEX#040367
RGBrgb(4, 3, 103)
RGB (0–1)0.0157, 0.0118, 0.4039
RGB percentages1.6%, 1.2%, 40.4%
HSLhsl(240.6, 94.3%, 20.8%)
HSV / HSBhsv(240.6, 97.1%, 40.4%)
CMYK96.1%, 97.1%, 0%, 59.6%naive device-independent conversion; real print needs an ICC profile
24-bit integer263,015
CSS custom property--colour: #040367;

Brightness & contrast

Relative luminance0.0107WCAG 2.x, 0 is black and 1 is white
Perceived brightness34.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.3:1
Contrast with white17.3:1WCAG normal text: AAA
Contrast with black1.21:1WCAG normal text: Fail
Greyscale equivalent#0A0A0A
Inverted#FBFC98

Colour vision & accessibility

Protanopia#002069no red cones; affects about 1% of men; ΔE 20.1 from the original
Deuteranopia#001565no green cones; the most common form, about 1% of men; ΔE 12.7 from the original
Tritanopia#00283Ano blue cones; rare, and affects men and women equally; ΔE 59.4 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text17.3:1WCAG large text: AAA
Contrast with black, large text1.21:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#666703
Analogous#033467, #360367
Triadic#670403, #036704
Split complementary#673603, #346703
Tetradic#670334, #666703, #036736

Tints, shades & saturation

Lighter +40%#3F3DF9
Lighter +30%#0D0BF8
Lighter +20%#0806CA
Lighter +10%#060499
Darker −10%#020235
Darker −20%#000004
Darker −30%#000000
Darker −40%#000000
More saturated +25%#01006A
Less saturated −25%#11105A

Channel breakdown

R4
G3
B103
Red4 (1.6%)
Green3 (1.2%)
Blue103 (40.4%)
Hue240.6°
Saturation (HSL)94.34%
Lightness20.78%
Dominant channelBlue
Hex per channelR 04 · G 03 · B 67

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