#282E6B

#282e6b ≈ Midnight Blue

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

#282e6b is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 15.69% red, 18.04% green and 41.96% blue; printed in CMYK it uses 62.62% cyan, 57.01% magenta, 0% yellow and 58.04% black. Its hue angle is 234.63°, with 45.58% saturation and 28.82% 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 12.4:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.87.

Description generated from the measured properties of this color.

Conversions of #282e6b into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#333366
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0347

Readable text 12.4:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.69:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #343434 ≈ 0.003% of males
Achromatomaly #303250 ≈ 0.001% of males
Protanopia #06376d ≈ 1.01% of males
Deuteranopia #00316a ≈ 1.27% of males
Tritanopia #003c47 ≈ 0.0001% of males
Protanomaly #19346c ≈ 1.08% of males
Deuteranomaly #14306a ≈ 4.63% of males
Tritanomaly #153758 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-282e6b {
  color: #282e6b;
}
Background
.bg-282e6b {
  background-color: #282e6b;
  color: #ffffff;
}
Border
.border-282e6b {
  border: 2px solid #282e6b;
}
CSS variables
:root {
  --color-primary: #282e6b;
  --color-primary-rgb: 40 46 107;
  --color-primary-hsl: 235 46% 29%;
}
Gradient
.gradient-282e6b {
  background: linear-gradient(135deg, #282e6b, #43286b);
}
Colored shadow
.shadow-282e6b {
  box-shadow: 0 8px 24px rgb(40 46 107 / 0.35);
}

Midnight Blue
#282e6b  rgb(40, 46, 107)  hsl(235, 46%, 29%)  Midnight Blue
#6b6528  rgb(107, 101, 40)  hsl(55, 46%, 29%)  Field Drab
#6b282e  rgb(107, 40, 46)  hsl(355, 46%, 29%)  Wine
#2e6b28  rgb(46, 107, 40)  hsl(115, 46%, 29%)  Pakistan Green