#02256F

#02256f ≈ Midnight Blue

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

#02256f 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.53% blue; printed in CMYK it uses 98.2% cyan, 66.67% magenta, 0% yellow and 56.47% black. Its hue angle is 220.73°, with 96.46% 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 14.03:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.04.

Description generated from the measured properties of this color.

Conversions of #02256f 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.0248

Readable text 14.03:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.5:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2c2c2c ≈ 0.003% of males
Achromatomaly #21294f ≈ 0.001% of males
Protanopia #003171 ≈ 1.01% of males
Deuteranopia #00276e ≈ 1.27% of males
Tritanopia #003946 ≈ 0.0001% of males
Protanomaly #002c70 ≈ 1.08% of males
Deuteranomaly #00266e ≈ 4.63% of males
Tritanomaly #003259 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#02256f  rgb(2, 37, 111)  hsl(221, 96%, 22%)  Midnight Blue
#6f4c02  rgb(111, 76, 2)  hsl(41, 96%, 22%)  Field Drab
#6f0225  rgb(111, 2, 37)  hsl(341, 96%, 22%)  Claret
#256f02  rgb(37, 111, 2)  hsl(101, 96%, 22%)  Pakistan Green