#021968

#021968 ≈ Midnight Blue

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

#021968 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 0.78% red, 9.8% green and 40.78% blue; printed in CMYK it uses 98.08% cyan, 75.96% magenta, 0% yellow and 59.22% black. Its hue angle is 226.47°, with 96.23% saturation and 20.78% 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.65:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.47.

Description generated from the measured properties of this color.

Conversions of #021968 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.0171

Readable text 15.65:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.34:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #232323 ≈ 0.003% of males
Achromatomaly #1a2048 ≈ 0.001% of males
Protanopia #00286a ≈ 1.01% of males
Deuteranopia #001e67 ≈ 1.27% of males
Tritanopia #00303e ≈ 0.0001% of males
Protanomaly #002369 ≈ 1.08% of males
Deuteranomaly #001c67 ≈ 4.63% of males
Tritanomaly #002852 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#021968  rgb(2, 25, 104)  hsl(226, 96%, 21%)  Midnight Blue
#685102  rgb(104, 81, 2)  hsl(46, 96%, 21%)  Field Drab
#680219  rgb(104, 2, 25)  hsl(346, 96%, 21%)  Rosewood
#196802  rgb(25, 104, 2)  hsl(106, 96%, 21%)  Pakistan Green