Recognised as Colour
#1F3E40
- #1F3E40
- Cyan
- Dark
- Nearest: Dark slate grey
#1F3E40 is a cyan with RGB values 31, 62, 64 and HSL 184°, 35%, 19%. It is a dark colour, so white text on it reaches 11.5:1 contrast (AAA for normal text). The nearest named colour is Dark slate grey.
Colour values
#1F3E40#1F3E40
HEX#1F3E40
RGBrgb(31, 62, 64)
RGB (0–1)0.1216, 0.2431, 0.251
RGB percentages12.2%, 24.3%, 25.1%
HSLhsl(183.6, 34.7%, 18.6%)
HSV / HSBhsv(183.6, 51.6%, 25.1%)
CMYK51.6%, 3.1%, 0%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,047,552
CSS custom property--colour: #1F3E40;
Brightness & contrast
Relative luminance0.04107WCAG 2.x, 0 is black and 1 is white
Perceived brightness54.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.53:1
Contrast with white11.53:1WCAG normal text: AAA
Contrast with black1.82:1WCAG normal text: Fail
Greyscale equivalent#383838
Inverted#E0C1BF
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text11.53:1WCAG large text: AAA
Contrast with black, large text1.82:1WCAG large text: Fail
Named colours
Hue familycyan
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#40211F
Analogous#1F4031, #1F2E40
Triadic#401F3E, #3E401F
Split complementary#401F2E, #40311F
Tetradic#311F40, #40211F, #2E401F
Tints, shades & saturation
Channel breakdown
R31
G62
B64
Red31 (12.2%)
Green62 (24.3%)
Blue64 (25.1%)
Hue183.64°
Saturation (HSL)34.74%
Lightness18.63%
Dominant channelBlue
Hex per channelR 1F · G 3E · B 40
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