#02126E

#02126e ≈ Midnight Blue

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

#02126e is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 0.78% red, 7.06% green and 43.14% blue; printed in CMYK it uses 98.18% cyan, 83.64% magenta, 0% yellow and 56.86% black. Its hue angle is 231.11°, with 96.43% saturation and 21.96% 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.98:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.13.

Description generated from the measured properties of this color.

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

Readable text 15.98:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.31:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #222222 ≈ 0.003% of males
Achromatomaly #191c4c ≈ 0.001% of males
Protanopia #002771 ≈ 1.01% of males
Deuteranopia #001c6c ≈ 1.27% of males
Tritanopia #002f40 ≈ 0.0001% of males
Protanomaly #002070 ≈ 1.08% of males
Deuteranomaly #00186d ≈ 4.63% of males
Tritanomaly #002656 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#02126e  rgb(2, 18, 110)  hsl(231, 96%, 22%)  Midnight Blue
#6e5e02  rgb(110, 94, 2)  hsl(51, 96%, 22%)  Field Drab
#6e0212  rgb(110, 2, 18)  hsl(351, 96%, 22%)  Rosewood
#126e02  rgb(18, 110, 2)  hsl(111, 96%, 22%)  Pakistan Green