#02256E

#02256e ≈ Midnight Blue

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

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

Description generated from the measured properties of this color.

Conversions of #02256e 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.0246

Readable text 14.07:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.49:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2b2b2b ≈ 0.003% of males
Achromatomaly #21294e ≈ 0.001% of males
Protanopia #003070 ≈ 1.01% of males
Deuteranopia #00276d ≈ 1.27% of males
Tritanopia #003845 ≈ 0.0001% of males
Protanomaly #002c6f ≈ 1.08% of males
Deuteranomaly #00266d ≈ 4.63% of males
Tritanomaly #003258 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#02256e  rgb(2, 37, 110)  hsl(221, 96%, 22%)  Midnight Blue
#6e4b02  rgb(110, 75, 2)  hsl(41, 96%, 22%)  Field Drab
#6e0225  rgb(110, 2, 37)  hsl(341, 96%, 22%)  Claret
#256e02  rgb(37, 110, 2)  hsl(101, 96%, 22%)  Pakistan Green