#040F2B

#040f2b ≈ Oxford Blue

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

#040f2b 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 16.86% blue; printed in CMYK it uses 90.7% cyan, 65.12% magenta, 0% yellow and 83.14% black. Its hue angle is 223.08°, with 82.98% saturation and 9.22% 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.95:1 (WCAG AAA). The closest named color is Oxford Blue (#002147), ΔE 6.73.

Description generated from the measured properties of this color.

Conversions of #040f2b 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.0054

Readable text 18.95: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 #0c101e ≈ 0.001% of males
Protanopia #01132c ≈ 1.01% of males
Deuteranopia #000f2a ≈ 1.27% of males
Tritanopia #00161b ≈ 0.0001% of males
Protanomaly #02112c ≈ 1.08% of males
Deuteranomaly #000f2b ≈ 4.63% of males
Tritanomaly #001322 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Oxford Blue
#040f2b  rgb(4, 15, 43)  hsl(223, 83%, 9%)  Oxford Blue
#2b2004  rgb(43, 32, 4)  hsl(43, 83%, 9%)  Bistre
#2b040f  rgb(43, 4, 15)  hsl(343, 83%, 9%)  Licorice
#0f2b04  rgb(15, 43, 4)  hsl(103, 83%, 9%)  Phthalo Green