#230B42

#230b42 ≈ Midnight Blue

  • violet
  • Lightness: very low
  • Saturation: muted
  • Cool

#230b42 is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 13.73% red, 4.31% green and 25.88% blue; printed in CMYK it uses 46.97% cyan, 83.33% magenta, 0% yellow and 74.12% black. Its hue angle is 266.18°, with 71.43% saturation and 15.1% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 17.53:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 9.55.

Description generated from the measured properties of this color.

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

Readable text 17.53:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.2:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #191919 ≈ 0.003% of males
Achromatomaly #1e152e ≈ 0.001% of males
Protanopia #001944 ≈ 1.01% of males
Deuteranopia #001941 ≈ 1.27% of males
Tritanopia #1b1926 ≈ 0.0001% of males
Protanomaly #0c1543 ≈ 1.08% of males
Deuteranomaly #0f1441 ≈ 4.63% of males
Tritanomaly #1f1433 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-230b42 {
  color: #230b42;
}
Background
.bg-230b42 {
  background-color: #230b42;
  color: #ffffff;
}
Border
.border-230b42 {
  border: 2px solid #230b42;
}
CSS variables
:root {
  --color-primary: #230b42;
  --color-primary-rgb: 35 11 66;
  --color-primary-hsl: 266 71% 15%;
}
Gradient
.gradient-230b42 {
  background: linear-gradient(135deg, #230b42, #3f0b42);
}
Colored shadow
.shadow-230b42 {
  box-shadow: 0 8px 24px rgb(35 11 66 / 0.35);
}

Midnight Blue
#230b42  rgb(35, 11, 66)  hsl(266, 71%, 15%)  Midnight Blue
#2a420b  rgb(42, 66, 11)  hsl(86, 71%, 15%)  Army Green
#42230b  rgb(66, 35, 11)  hsl(26, 71%, 15%)  Bistre
#0b4223  rgb(11, 66, 35)  hsl(146, 71%, 15%)  British Racing Green