#121E5F

#121e5f ≈ Midnight Blue

  • blue
  • Lightness: low
  • Saturation: moderate
  • Cool

#121e5f is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 7.06% red, 11.76% green and 37.25% blue; printed in CMYK it uses 81.05% cyan, 68.42% magenta, 0% yellow and 62.75% black. Its hue angle is 230.65°, with 68.14% saturation and 22.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 15.25:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.23.

Description generated from the measured properties of this color.

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

Readable text 15.25:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.38:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #252525 ≈ 0.003% of males
Achromatomaly #1f2344 ≈ 0.001% of males
Protanopia #002961 ≈ 1.01% of males
Deuteranopia #00225e ≈ 1.27% of males
Tritanopia #002f3b ≈ 0.0001% of males
Protanomaly #002560 ≈ 1.08% of males
Deuteranomaly #00205e ≈ 4.63% of males
Tritanomaly #00294c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-121e5f {
  color: #121e5f;
}
Background
.bg-121e5f {
  background-color: #121e5f;
  color: #ffffff;
}
Border
.border-121e5f {
  border: 2px solid #121e5f;
}
CSS variables
:root {
  --color-primary: #121e5f;
  --color-primary-rgb: 18 30 95;
  --color-primary-hsl: 231 68% 22%;
}
Gradient
.gradient-121e5f {
  background: linear-gradient(135deg, #121e5f, #2d125f);
}
Colored shadow
.shadow-121e5f {
  box-shadow: 0 8px 24px rgb(18 30 95 / 0.35);
}

Midnight Blue
#121e5f  rgb(18, 30, 95)  hsl(231, 68%, 22%)  Midnight Blue
#5f5312  rgb(95, 83, 18)  hsl(51, 68%, 22%)  Field Drab
#5f121e  rgb(95, 18, 30)  hsl(351, 68%, 22%)  Rosewood
#1e5f12  rgb(30, 95, 18)  hsl(111, 68%, 22%)  Lincoln Green