#0C3F8D

#0c3f8d ≈ Cobalt Blue

  • azure
  • Lightness: low
  • Saturation: strong
  • Cool

#0c3f8d is a color from the azure family, with low lightness and strong saturation. In the RGB model it is made of 4.71% red, 24.71% green and 55.29% blue; printed in CMYK it uses 91.49% cyan, 55.32% magenta, 0% yellow and 44.71% black. Its hue angle is 216.28°, with 84.31% saturation and 30% lightness in HSL. It is a cool color, often associated with openness, freedom and calm. Designers typically use it for technology products, finance and banking and corporate identities. White text on this color reaches a contrast ratio of 9.95:1 (WCAG AAA). The closest named color is Cobalt Blue (#0047ab), ΔE 4.42.

Description generated from the measured properties of this color.

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

Readable text 9.95:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.11:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #434343 ≈ 0.003% of males
Achromatomaly #344169 ≈ 0.001% of males
Protanopia #004990 ≈ 1.01% of males
Deuteranopia #003d8b ≈ 1.27% of males
Tritanopia #00525f ≈ 0.0001% of males
Protanomaly #02458f ≈ 1.08% of males
Deuteranomaly #003e8c ≈ 4.63% of males
Tritanomaly #004b74 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0c3f8d {
  color: #0c3f8d;
}
Background
.bg-0c3f8d {
  background-color: #0c3f8d;
  color: #ffffff;
}
Border
.border-0c3f8d {
  border: 2px solid #0c3f8d;
}
CSS variables
:root {
  --color-primary: #0c3f8d;
  --color-primary-rgb: 12 63 141;
  --color-primary-hsl: 216 84% 30%;
}
Gradient
.gradient-0c3f8d {
  background: linear-gradient(135deg, #0c3f8d, #1a0c8d);
}
Colored shadow
.shadow-0c3f8d {
  box-shadow: 0 8px 24px rgb(12 63 141 / 0.35);
}

Cobalt Blue
#0c3f8d  rgb(12, 63, 141)  hsl(216, 84%, 30%)  Cobalt Blue
#8d5a0c  rgb(141, 90, 12)  hsl(36, 84%, 30%)  Golden Brown
#8d0c3f  rgb(141, 12, 63)  hsl(336, 84%, 30%)  Claret
#3f8d0c  rgb(63, 141, 12)  hsl(96, 84%, 30%)  Islamic Green