#1B21BB

#1b21bb ≈ Medium Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#1b21bb is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 10.59% red, 12.94% green and 73.33% blue; printed in CMYK it uses 85.56% cyan, 82.35% magenta, 0% yellow and 26.67% black. Its hue angle is 237.75°, with 74.77% saturation and 41.96% 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 brand accents. White text on this color reaches a contrast ratio of 10.6:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.74.

Description generated from the measured properties of this color.

Conversions of #1b21bb into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3333cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0491

Readable text 10.6:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.98:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3f3f3f ≈ 0.003% of males
Achromatomaly #343583 ≈ 0.001% of males
Protanopia #0047bf ≈ 1.01% of males
Deuteranopia #0036b8 ≈ 1.27% of males
Tritanopia #005370 ≈ 0.0001% of males
Protanomaly #003bbe ≈ 1.08% of males
Deuteranomaly #002fb9 ≈ 4.63% of males
Tritanomaly #004494 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1b21bb {
  color: #1b21bb;
}
Background
.bg-1b21bb {
  background-color: #1b21bb;
  color: #ffffff;
}
Border
.border-1b21bb {
  border: 2px solid #1b21bb;
}
CSS variables
:root {
  --color-primary: #1b21bb;
  --color-primary-rgb: 27 33 187;
  --color-primary-hsl: 238 75% 42%;
}
Gradient
.gradient-1b21bb {
  background: linear-gradient(135deg, #1b21bb, #651bbb);
}
Colored shadow
.shadow-1b21bb {
  box-shadow: 0 8px 24px rgb(27 33 187 / 0.35);
}

Medium Blue
#1b21bb  rgb(27, 33, 187)  hsl(238, 75%, 42%)  Medium Blue
#bbb51b  rgb(187, 181, 27)  hsl(58, 75%, 42%)  Old Gold
#bb1b21  rgb(187, 27, 33)  hsl(358, 75%, 42%)  Firebrick
#21bb1b  rgb(33, 187, 27)  hsl(118, 75%, 42%)  Kelly Green