#02145F

#02145f ≈ Midnight Blue

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

#02145f is a color from the blue family, with very low lightness and moderate saturation. In the RGB model it is made of 0.78% red, 7.84% green and 37.25% blue; printed in CMYK it uses 97.89% cyan, 78.95% magenta, 0% yellow and 62.75% black. Its hue angle is 228.39°, with 95.88% saturation and 19.02% 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 16.56:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.37.

Description generated from the measured properties of this color.

Conversions of #02145f 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.0134

Readable text 16.56:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.27:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #1f1f1f ≈ 0.003% of males
Achromatomaly #161b42 ≈ 0.001% of males
Protanopia #002361 ≈ 1.01% of males
Deuteranopia #001a5e ≈ 1.27% of males
Tritanopia #002a38 ≈ 0.0001% of males
Protanomaly #001e60 ≈ 1.08% of males
Deuteranomaly #00185e ≈ 4.63% of males
Tritanomaly #00234b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-02145f {
  color: #02145f;
}
Background
.bg-02145f {
  background-color: #02145f;
  color: #ffffff;
}
Border
.border-02145f {
  border: 2px solid #02145f;
}
CSS variables
:root {
  --color-primary: #02145f;
  --color-primary-rgb: 2 20 95;
  --color-primary-hsl: 228 96% 19%;
}
Gradient
.gradient-02145f {
  background: linear-gradient(135deg, #02145f, #1f025f);
}
Colored shadow
.shadow-02145f {
  box-shadow: 0 8px 24px rgb(2 20 95 / 0.35);
}

Midnight Blue
#02145f  rgb(2, 20, 95)  hsl(228, 96%, 19%)  Midnight Blue
#5f4d02  rgb(95, 77, 2)  hsl(48, 96%, 19%)  Field Drab
#5f0214  rgb(95, 2, 20)  hsl(348, 96%, 19%)  Rosewood
#145f02  rgb(20, 95, 2)  hsl(108, 96%, 19%)  Dark Green