#0F024B

#0f024b ≈ Midnight Blue

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

#0f024b is a color from the violet family, with very low lightness and moderate saturation. In the RGB model it is made of 5.88% red, 0.78% green and 29.41% blue; printed in CMYK it uses 80% cyan, 97.33% magenta, 0% yellow and 70.59% black. Its hue angle is 250.68°, with 94.81% saturation and 15.1% 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.57:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.37.

Description generated from the measured properties of this color.

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

Readable text 18.57:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.13:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #131313 ≈ 0.003% of males
Achromatomaly #120d32 ≈ 0.001% of males
Protanopia #00164d ≈ 1.01% of males
Deuteranopia #00104a ≈ 1.27% of males
Tritanopia #001a29 ≈ 0.0001% of males
Protanomaly #00104c ≈ 1.08% of males
Deuteranomaly #000b4a ≈ 4.63% of males
Tritanomaly #001339 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0f024b {
  color: #0f024b;
}
Background
.bg-0f024b {
  background-color: #0f024b;
  color: #ffffff;
}
Border
.border-0f024b {
  border: 2px solid #0f024b;
}
CSS variables
:root {
  --color-primary: #0f024b;
  --color-primary-rgb: 15 2 75;
  --color-primary-hsl: 251 95% 15%;
}
Gradient
.gradient-0f024b {
  background: linear-gradient(135deg, #0f024b, #34024b);
}
Colored shadow
.shadow-0f024b {
  box-shadow: 0 8px 24px rgb(15 2 75 / 0.35);
}

Midnight Blue
#0f024b  rgb(15, 2, 75)  hsl(251, 95%, 15%)  Midnight Blue
#3e4b02  rgb(62, 75, 2)  hsl(71, 95%, 15%)  Army Green
#4b0f02  rgb(75, 15, 2)  hsl(11, 95%, 15%)  Rosewood
#024b0f  rgb(2, 75, 15)  hsl(131, 95%, 15%)  Lincoln Green