#0C4E63

#0c4e63 ≈ Midnight Green

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

#0c4e63 is a color from the cyan family, with low lightness and moderate saturation. In the RGB model it is made of 4.71% red, 30.59% green and 38.82% blue; printed in CMYK it uses 87.88% cyan, 21.21% magenta, 0% yellow and 61.18% black. Its hue angle is 194.48°, with 78.38% saturation and 21.76% 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.19:1 (WCAG AAA). The closest named color is Midnight Green (#004953), ΔE 5.95.

Description generated from the measured properties of this color.

Conversions of #0c4e63 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.0643

Readable text 9.19:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.29:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #484848 ≈ 0.003% of males
Achromatomaly #384a54 ≈ 0.001% of males
Protanopia #424c64 ≈ 1.01% of males
Deuteranopia #374463 ≈ 1.27% of males
Tritanopia #005455 ≈ 0.0001% of males
Protanomaly #344d64 ≈ 1.08% of males
Deuteranomaly #2b4863 ≈ 4.63% of males
Tritanomaly #00525b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0c4e63 {
  color: #0c4e63;
}
Background
.bg-0c4e63 {
  background-color: #0c4e63;
  color: #ffffff;
}
Border
.border-0c4e63 {
  border: 2px solid #0c4e63;
}
CSS variables
:root {
  --color-primary: #0c4e63;
  --color-primary-rgb: 12 78 99;
  --color-primary-hsl: 194 78% 22%;
}
Gradient
.gradient-0c4e63 {
  background: linear-gradient(135deg, #0c4e63, #0c2263);
}
Colored shadow
.shadow-0c4e63 {
  box-shadow: 0 8px 24px rgb(12 78 99 / 0.35);
}

Midnight Green
#0c4e63  rgb(12, 78, 99)  hsl(194, 78%, 22%)  Midnight Green
#63210c  rgb(99, 33, 12)  hsl(14, 78%, 22%)  Caput Mortuum
#630c4e  rgb(99, 12, 78)  hsl(314, 78%, 22%)  Tyrian Purple
#4e630c  rgb(78, 99, 12)  hsl(74, 78%, 22%)  Dark Olive Green