#040F2C

#040f2c ≈ Oxford Blue

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

#040f2c 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 17.25% blue; printed in CMYK it uses 90.91% cyan, 65.91% magenta, 0% yellow and 82.75% black. Its hue angle is 223.5°, with 83.33% saturation and 9.41% 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.92:1 (WCAG AAA). The closest named color is Oxford Blue (#002147), ΔE 6.63.

Description generated from the measured properties of this color.

Conversions of #040f2c 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.0055

Readable text 18.92:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.11:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #111111 ≈ 0.003% of males
Achromatomaly #0c101f ≈ 0.001% of males
Protanopia #00132d ≈ 1.01% of males
Deuteranopia #000f2b ≈ 1.27% of males
Tritanopia #00161b ≈ 0.0001% of males
Protanomaly #02112d ≈ 1.08% of males
Deuteranomaly #000f2c ≈ 4.63% of males
Tritanomaly #001423 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-040f2c {
  color: #040f2c;
}
Background
.bg-040f2c {
  background-color: #040f2c;
  color: #ffffff;
}
Border
.border-040f2c {
  border: 2px solid #040f2c;
}
CSS variables
:root {
  --color-primary: #040f2c;
  --color-primary-rgb: 4 15 44;
  --color-primary-hsl: 224 83% 9%;
}
Gradient
.gradient-040f2c {
  background: linear-gradient(135deg, #040f2c, #0d042c);
}
Colored shadow
.shadow-040f2c {
  box-shadow: 0 8px 24px rgb(4 15 44 / 0.35);
}

Oxford Blue
#040f2c  rgb(4, 15, 44)  hsl(224, 83%, 9%)  Oxford Blue
#2c2104  rgb(44, 33, 4)  hsl(44, 83%, 9%)  Bistre
#2c040f  rgb(44, 4, 15)  hsl(344, 83%, 9%)  Licorice
#0f2c04  rgb(15, 44, 4)  hsl(104, 83%, 9%)  Phthalo Green