#0B4E5D

#0b4e5d ≈ Midnight Green

  • cyan
  • Lightness: low
  • Saturation: moderate
  • Cool

#0b4e5d is a color from the cyan family, with low lightness and moderate saturation. In the RGB model it is made of 4.31% red, 30.59% green and 36.47% blue; printed in CMYK it uses 88.17% cyan, 16.13% magenta, 0% yellow and 63.53% black. Its hue angle is 190.98°, with 78.85% saturation and 20.39% lightness in HSL. It is a cool color, often associated with freshness, technology and clarity. Designers typically use it for health and wellness, technology products and luxury branding. White text on this color reaches a contrast ratio of 9.28:1 (WCAG AAA). The closest named color is Midnight Green (#004953), ΔE 3.18.

Description generated from the measured properties of this color.

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

Readable text 9.28:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.26:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #474747 ≈ 0.003% of males
Achromatomaly #384a51 ≈ 0.001% of males
Protanopia #444b5e ≈ 1.01% of males
Deuteranopia #3a445d ≈ 1.27% of males
Tritanopia #005353 ≈ 0.0001% of males
Protanomaly #364c5d ≈ 1.08% of males
Deuteranomaly #2d485d ≈ 4.63% of males
Tritanomaly #005157 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Green
#0b4e5d  rgb(11, 78, 93)  hsl(191, 79%, 20%)  Midnight Green
#5d1a0b  rgb(93, 26, 11)  hsl(11, 79%, 20%)  Rosewood
#5d0b4e  rgb(93, 11, 78)  hsl(311, 79%, 20%)  Byzantium
#4e5d0b  rgb(78, 93, 11)  hsl(71, 79%, 20%)  Army Green