#0F024D

#0f024d ≈ Midnight Blue

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

#0f024d 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.2% blue; printed in CMYK it uses 80.52% cyan, 97.4% magenta, 0% yellow and 69.8% black. Its hue angle is 250.4°, with 94.94% saturation and 15.49% 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.48:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.14.

Description generated from the measured properties of this color.

Conversions of #0f024d 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.0068

Readable text 18.48: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 #120e34 ≈ 0.001% of males
Protanopia #00174f ≈ 1.01% of males
Deuteranopia #00104c ≈ 1.27% of males
Tritanopia #001b2a ≈ 0.0001% of males
Protanomaly #00104e ≈ 1.08% of males
Deuteranomaly #000b4c ≈ 4.63% of males
Tritanomaly #00143b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#0f024d  rgb(15, 2, 77)  hsl(250, 95%, 15%)  Midnight Blue
#404d02  rgb(64, 77, 2)  hsl(70, 95%, 15%)  Army Green
#4d0f02  rgb(77, 15, 2)  hsl(10, 95%, 15%)  Rosewood
#024d0f  rgb(2, 77, 15)  hsl(130, 95%, 15%)  Lincoln Green