#02155B

#02155b ≈ Midnight Blue

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

#02155b 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, 8.24% green and 35.69% blue; printed in CMYK it uses 97.8% cyan, 76.92% magenta, 0% yellow and 64.31% black. Its hue angle is 227.19°, with 95.7% saturation and 18.24% 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.65:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.07.

Description generated from the measured properties of this color.

Conversions of #02155b 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.013

Readable text 16.65:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.26:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #1e1e1e ≈ 0.003% of males
Achromatomaly #161b3f ≈ 0.001% of males
Protanopia #00225d ≈ 1.01% of males
Deuteranopia #001a5a ≈ 1.27% of males
Tritanopia #002936 ≈ 0.0001% of males
Protanomaly #001e5c ≈ 1.08% of males
Deuteranomaly #00185a ≈ 4.63% of males
Tritanomaly #002348 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-02155b {
  color: #02155b;
}
Background
.bg-02155b {
  background-color: #02155b;
  color: #ffffff;
}
Border
.border-02155b {
  border: 2px solid #02155b;
}
CSS variables
:root {
  --color-primary: #02155b;
  --color-primary-rgb: 2 21 91;
  --color-primary-hsl: 227 96% 18%;
}
Gradient
.gradient-02155b {
  background: linear-gradient(135deg, #02155b, #1c025b);
}
Colored shadow
.shadow-02155b {
  box-shadow: 0 8px 24px rgb(2 21 91 / 0.35);
}

Midnight Blue
#02155b  rgb(2, 21, 91)  hsl(227, 96%, 18%)  Midnight Blue
#5b4802  rgb(91, 72, 2)  hsl(47, 96%, 18%)  Field Drab
#5b0215  rgb(91, 2, 21)  hsl(347, 96%, 18%)  Rosewood
#155b02  rgb(21, 91, 2)  hsl(107, 96%, 18%)  Lincoln Green