#021B65

#021b65 ≈ Midnight Blue

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

#021b65 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 0.78% red, 10.59% green and 39.61% blue; printed in CMYK it uses 98.02% cyan, 73.27% magenta, 0% yellow and 60.39% black. Its hue angle is 224.85°, with 96.12% saturation and 20.2% 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.59:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.27.

Description generated from the measured properties of this color.

Conversions of #021b65 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.0174

Readable text 15.59:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.35:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #242424 ≈ 0.003% of males
Achromatomaly #1b2047 ≈ 0.001% of males
Protanopia #002867 ≈ 1.01% of males
Deuteranopia #001f64 ≈ 1.27% of males
Tritanopia #00303d ≈ 0.0001% of males
Protanomaly #002466 ≈ 1.08% of males
Deuteranomaly #001d64 ≈ 4.63% of males
Tritanomaly #002950 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-021b65 {
  color: #021b65;
}
Background
.bg-021b65 {
  background-color: #021b65;
  color: #ffffff;
}
Border
.border-021b65 {
  border: 2px solid #021b65;
}
CSS variables
:root {
  --color-primary: #021b65;
  --color-primary-rgb: 2 27 101;
  --color-primary-hsl: 225 96% 20%;
}
Gradient
.gradient-021b65 {
  background: linear-gradient(135deg, #021b65, #1b0265);
}
Colored shadow
.shadow-021b65 {
  box-shadow: 0 8px 24px rgb(2 27 101 / 0.35);
}

Midnight Blue
#021b65  rgb(2, 27, 101)  hsl(225, 96%, 20%)  Midnight Blue
#654c02  rgb(101, 76, 2)  hsl(45, 96%, 20%)  Field Drab
#65021b  rgb(101, 2, 27)  hsl(345, 96%, 20%)  Rosewood
#1b6502  rgb(27, 101, 2)  hsl(105, 96%, 20%)  Pakistan Green