#283F42

#283f42 ≈ Dark Slate Gray

  • cyan
  • Lightness: low
  • Saturation: muted
  • Cool

#283f42 is a color from the cyan family, with low lightness and muted saturation. In the RGB model it is made of 15.69% red, 24.71% green and 25.88% blue; printed in CMYK it uses 39.39% cyan, 4.55% magenta, 0% yellow and 74.12% black. Its hue angle is 186.92°, with 24.53% saturation and 20.78% lightness in HSL. It is a cool color, often associated with freshness, technology and clarity. Designers typically use it for health and wellness, technology products and corporate identities. White text on this color reaches a contrast ratio of 11.17:1 (WCAG AAA). The closest named color is Dark Slate Gray (#2f4f4f), ΔE 5.95.

Description generated from the measured properties of this color.

Conversions of #283f42 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#333333
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.044

Readable text 11.17:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.88:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3b3b3b ≈ 0.003% of males
Achromatomaly #343d3e ≈ 0.001% of males
Protanopia #3b3d42 ≈ 1.01% of males
Deuteranopia #373a42 ≈ 1.27% of males
Tritanopia #1e4140 ≈ 0.0001% of males
Protanomaly #353e42 ≈ 1.08% of males
Deuteranomaly #323c42 ≈ 4.63% of males
Tritanomaly #224041 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-283f42 {
  color: #283f42;
}
Background
.bg-283f42 {
  background-color: #283f42;
  color: #ffffff;
}
Border
.border-283f42 {
  border: 2px solid #283f42;
}
CSS variables
:root {
  --color-primary: #283f42;
  --color-primary-rgb: 40 63 66;
  --color-primary-hsl: 187 25% 21%;
}
Gradient
.gradient-283f42 {
  background: linear-gradient(135deg, #283f42, #283242);
}
Colored shadow
.shadow-283f42 {
  box-shadow: 0 8px 24px rgb(40 63 66 / 0.35);
}

Dark Slate Gray
#283f42  rgb(40, 63, 66)  hsl(187, 25%, 21%)  Dark Slate Gray
#422b28  rgb(66, 43, 40)  hsl(7, 25%, 21%)  Bistre
#42283f  rgb(66, 40, 63)  hsl(307, 25%, 21%)  Eggplant
#3f4228  rgb(63, 66, 40)  hsl(67, 25%, 21%)  Rifle Green