#0F024F

#0f024f ≈ Midnight Blue

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

#0f024f 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 30.98% blue; printed in CMYK it uses 81.01% cyan, 97.47% magenta, 0% yellow and 69.02% black. Its hue angle is 250.13°, with 95.06% saturation and 15.88% 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.39:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.91.

Description generated from the measured properties of this color.

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

Readable text 18.39:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.14:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #141414 ≈ 0.003% of males
Achromatomaly #120e35 ≈ 0.001% of males
Protanopia #001751 ≈ 1.01% of males
Deuteranopia #00114e ≈ 1.27% of males
Tritanopia #001c2b ≈ 0.0001% of males
Protanomaly #001150 ≈ 1.08% of males
Deuteranomaly #000c4e ≈ 4.63% of males
Tritanomaly #00153c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#0f024f  rgb(15, 2, 79)  hsl(250, 95%, 16%)  Midnight Blue
#424f02  rgb(66, 79, 2)  hsl(70, 95%, 16%)  Army Green
#4f0f02  rgb(79, 15, 2)  hsl(10, 95%, 16%)  Rosewood
#024f0f  rgb(2, 79, 15)  hsl(130, 95%, 16%)  Lincoln Green