#1B024E

#1b024e ≈ Midnight Blue

  • violet
  • Lightness: very low
  • Saturation: moderate
  • Cool

#1b024e is a color from the violet family, with very low lightness and moderate saturation. In the RGB model it is made of 10.59% red, 0.78% green and 30.59% blue; printed in CMYK it uses 65.38% cyan, 97.44% magenta, 0% yellow and 69.41% black. Its hue angle is 259.74°, with 95% saturation and 15.69% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 18.02:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.38.

Description generated from the measured properties of this color.

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

Readable text 18.02:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.17:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #161616 ≈ 0.003% of males
Achromatomaly #181035 ≈ 0.001% of males
Protanopia #001850 ≈ 1.01% of males
Deuteranopia #00144d ≈ 1.27% of males
Tritanopia #001b2a ≈ 0.0001% of males
Protanomaly #00114f ≈ 1.08% of males
Deuteranomaly #000e4d ≈ 4.63% of males
Tritanomaly #0e143c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1b024e {
  color: #1b024e;
}
Background
.bg-1b024e {
  background-color: #1b024e;
  color: #ffffff;
}
Border
.border-1b024e {
  border: 2px solid #1b024e;
}
CSS variables
:root {
  --color-primary: #1b024e;
  --color-primary-rgb: 27 2 78;
  --color-primary-hsl: 260 95% 16%;
}
Gradient
.gradient-1b024e {
  background: linear-gradient(135deg, #1b024e, #41024e);
}
Colored shadow
.shadow-1b024e {
  box-shadow: 0 8px 24px rgb(27 2 78 / 0.35);
}

Midnight Blue
#1b024e  rgb(27, 2, 78)  hsl(260, 95%, 16%)  Midnight Blue
#354e02  rgb(53, 78, 2)  hsl(80, 95%, 16%)  Army Green
#4e1b02  rgb(78, 27, 2)  hsl(20, 95%, 16%)  Caput Mortuum
#024e1b  rgb(2, 78, 27)  hsl(140, 95%, 16%)  Lincoln Green