#040A3E

#040a3e ≈ Oxford Blue

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

#040a3e 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, 3.92% green and 24.31% blue; printed in CMYK it uses 93.55% cyan, 83.87% magenta, 0% yellow and 75.69% black. Its hue angle is 233.79°, with 87.88% saturation and 12.94% 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.78:1 (WCAG AAA). The closest named color is Oxford Blue (#002147), ΔE 8.36.

Description generated from the measured properties of this color.

Conversions of #040a3e 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.0059

Readable text 18.78:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.12:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #121212 ≈ 0.003% of males
Achromatomaly #0d0f2a ≈ 0.001% of males
Protanopia #001540 ≈ 1.01% of males
Deuteranopia #000f3d ≈ 1.27% of males
Tritanopia #001923 ≈ 0.0001% of males
Protanomaly #00113f ≈ 1.08% of males
Deuteranomaly #000d3d ≈ 4.63% of males
Tritanomaly #001430 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-040a3e {
  color: #040a3e;
}
Background
.bg-040a3e {
  background-color: #040a3e;
  color: #ffffff;
}
Border
.border-040a3e {
  border: 2px solid #040a3e;
}
CSS variables
:root {
  --color-primary: #040a3e;
  --color-primary-rgb: 4 10 62;
  --color-primary-hsl: 234 88% 13%;
}
Gradient
.gradient-040a3e {
  background: linear-gradient(135deg, #040a3e, #1b043e);
}
Colored shadow
.shadow-040a3e {
  box-shadow: 0 8px 24px rgb(4 10 62 / 0.35);
}

Oxford Blue
#040a3e  rgb(4, 10, 62)  hsl(234, 88%, 13%)  Oxford Blue
#3e3804  rgb(62, 56, 4)  hsl(54, 88%, 13%)  Army Green
#3e040a  rgb(62, 4, 10)  hsl(354, 88%, 13%)  Caput Mortuum
#0a3e04  rgb(10, 62, 4)  hsl(114, 88%, 13%)  British Racing Green