#040F3A

#040f3a ≈ Oxford Blue

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

#040f3a is a color from the blue family, with very low lightness and muted saturation. In the RGB model it is made of 1.57% red, 5.88% green and 22.75% blue; printed in CMYK it uses 93.1% cyan, 74.14% magenta, 0% yellow and 77.25% black. Its hue angle is 227.78°, with 87.1% saturation and 12.16% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and luxury branding. White text on this color reaches a contrast ratio of 18.51:1 (WCAG AAA). The closest named color is Oxford Blue (#002147), ΔE 6.85.

Description generated from the measured properties of this color.

Conversions of #040f3a 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.0067

Readable text 18.51:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.13:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #131313 ≈ 0.003% of males
Achromatomaly #0e1228 ≈ 0.001% of males
Protanopia #00163b ≈ 1.01% of males
Deuteranopia #001139 ≈ 1.27% of males
Tritanopia #001a22 ≈ 0.0001% of males
Protanomaly #00143b ≈ 1.08% of males
Deuteranomaly #00103a ≈ 4.63% of males
Tritanomaly #00162d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-040f3a {
  color: #040f3a;
}
Background
.bg-040f3a {
  background-color: #040f3a;
  color: #ffffff;
}
Border
.border-040f3a {
  border: 2px solid #040f3a;
}
CSS variables
:root {
  --color-primary: #040f3a;
  --color-primary-rgb: 4 15 58;
  --color-primary-hsl: 228 87% 12%;
}
Gradient
.gradient-040f3a {
  background: linear-gradient(135deg, #040f3a, #14043a);
}
Colored shadow
.shadow-040f3a {
  box-shadow: 0 8px 24px rgb(4 15 58 / 0.35);
}

Oxford Blue
#040f3a  rgb(4, 15, 58)  hsl(228, 87%, 12%)  Oxford Blue
#3a2f04  rgb(58, 47, 4)  hsl(48, 87%, 12%)  Bistre
#3a040f  rgb(58, 4, 15)  hsl(348, 87%, 12%)  Caput Mortuum
#0f3a04  rgb(15, 58, 4)  hsl(108, 87%, 12%)  British Racing Green