Nerdulator> put something in

Recognised as Colour

#1F022F

  • #1F022F
  • Violet
  • Dark
  • Nearest: Midnight blue

#1F022F is a violet with RGB values 31, 2, 47 and HSL 279°, 92%, 10%. It is a dark colour, so white text on it reaches 19:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#1F022F#1F022F
HEX#1F022F
RGBrgb(31, 2, 47)
RGB (0–1)0.1216, 0.0078, 0.1843
RGB percentages12.2%, 0.8%, 18.4%
HSLhsl(278.7, 91.8%, 9.6%)
HSV / HSBhsv(278.7, 95.7%, 18.4%)
CMYK34%, 95.7%, 0%, 81.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,032,175
CSS custom property--colour: #1F022F;

Brightness & contrast

Relative luminance0.0054WCAG 2.x, 0 is black and 1 is white
Perceived brightness23.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.95:1
Contrast with white18.95:1WCAG normal text: AAA
Contrast with black1.11:1WCAG normal text: Fail
Greyscale equivalent#0B0B0B
Inverted#E0FDD0

Colour vision & accessibility

Protanopia#000F30no red cones; affects about 1% of men; ΔE 15.9 from the original
Deuteranopia#00112Eno green cones; the most common form, about 1% of men; ΔE 18 from the original
Tritanopia#1D0C18no blue cones; rare, and affects men and women equally; ΔE 22.6 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.95:1WCAG large text: AAA
Contrast with black, large text1.11:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#122F02
Analogous#08022F, #2F0229
Triadic#2F1F02, #022F1F
Split complementary#292F02, #022F08
Tetradic#2F0802, #122F02, #02292F

Tints, shades & saturation

Lighter +40%#A00AF3
Lighter +30%#8008C2
Lighter +20%#600691
Lighter +10%#3F0460
Darker −10%#000000
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#200031
Less saturated −25%#1D0829

Channel breakdown

R31
G2
B47
Red31 (12.2%)
Green2 (0.8%)
Blue47 (18.4%)
Hue278.67°
Saturation (HSL)91.84%
Lightness9.61%
Dominant channelBlue
Hex per channelR 1F · G 02 · B 2F

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