#0C1A2F

#0c1a2f ≈ Oxford Blue

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

#0c1a2f is a color from the azure family, with very low lightness and muted saturation. In the RGB model it is made of 4.71% red, 10.2% green and 18.43% blue; printed in CMYK it uses 74.47% cyan, 44.68% magenta, 0% yellow and 81.57% black. Its hue angle is 216°, with 59.32% saturation and 11.57% 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 luxury branding. White text on this color reaches a contrast ratio of 17.44:1 (WCAG AAA). The closest named color is Oxford Blue (#002147), ΔE 5.93.

Description generated from the measured properties of this color.

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

Readable text 17.44:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.2:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #1a1a1a ≈ 0.003% of males
Achromatomaly #151a24 ≈ 0.001% of males
Protanopia #111c30 ≈ 1.01% of males
Deuteranopia #0c182f ≈ 1.27% of males
Tritanopia #001f22 ≈ 0.0001% of males
Protanomaly #0f1b30 ≈ 1.08% of males
Deuteranomaly #0c192f ≈ 4.63% of males
Tritanomaly #021d28 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0c1a2f {
  color: #0c1a2f;
}
Background
.bg-0c1a2f {
  background-color: #0c1a2f;
  color: #ffffff;
}
Border
.border-0c1a2f {
  border: 2px solid #0c1a2f;
}
CSS variables
:root {
  --color-primary: #0c1a2f;
  --color-primary-rgb: 12 26 47;
  --color-primary-hsl: 216 59% 12%;
}
Gradient
.gradient-0c1a2f {
  background: linear-gradient(135deg, #0c1a2f, #100c2f);
}
Colored shadow
.shadow-0c1a2f {
  box-shadow: 0 8px 24px rgb(12 26 47 / 0.35);
}

Oxford Blue
#0c1a2f  rgb(12, 26, 47)  hsl(216, 59%, 12%)  Oxford Blue
#2f210c  rgb(47, 33, 12)  hsl(36, 59%, 12%)  Bistre
#2f0c1a  rgb(47, 12, 26)  hsl(336, 59%, 12%)  Tyrian Purple
#1a2f0c  rgb(26, 47, 12)  hsl(96, 59%, 12%)  Phthalo Green