#0F0236

#0f0236 ≈ Midnight Blue

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

#0f0236 is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 5.88% red, 0.78% green and 21.18% blue; printed in CMYK it uses 72.22% cyan, 96.3% magenta, 0% yellow and 78.82% black. Its hue angle is 255°, with 92.86% saturation and 10.98% 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 19.4:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 10.76.

Description generated from the measured properties of this color.

Conversions of #0f0236 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.0041

Readable text 19.4:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.08:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #0d0d0d ≈ 0.003% of males
Achromatomaly #0e0924 ≈ 0.001% of males
Protanopia #000f37 ≈ 1.01% of males
Deuteranopia #000b35 ≈ 1.27% of males
Tritanopia #00111c ≈ 0.0001% of males
Protanomaly #000a37 ≈ 1.08% of males
Deuteranomaly #000835 ≈ 4.63% of males
Tritanomaly #050c29 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0f0236 {
  color: #0f0236;
}
Background
.bg-0f0236 {
  background-color: #0f0236;
  color: #ffffff;
}
Border
.border-0f0236 {
  border: 2px solid #0f0236;
}
CSS variables
:root {
  --color-primary: #0f0236;
  --color-primary-rgb: 15 2 54;
  --color-primary-hsl: 255 93% 11%;
}
Gradient
.gradient-0f0236 {
  background: linear-gradient(135deg, #0f0236, #290236);
}
Colored shadow
.shadow-0f0236 {
  box-shadow: 0 8px 24px rgb(15 2 54 / 0.35);
}

Midnight Blue
#0f0236  rgb(15, 2, 54)  hsl(255, 93%, 11%)  Midnight Blue
#293602  rgb(41, 54, 2)  hsl(75, 93%, 11%)  Army Green
#360f02  rgb(54, 15, 2)  hsl(15, 93%, 11%)  Caput Mortuum
#02360f  rgb(2, 54, 15)  hsl(135, 93%, 11%)  British Racing Green