#021BD2

#021bd2 ≈ Medium Blue

  • blue
  • Lightness: medium
  • Saturation: vivid
  • Cool

#021bd2 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 0.78% red, 10.59% green and 82.35% blue; printed in CMYK it uses 99.05% cyan, 87.14% magenta, 0% yellow and 17.65% black. Its hue angle is 232.79°, with 98.11% saturation and 41.57% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 10.05:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.81.

Description generated from the measured properties of this color.

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

Readable text 10.05:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.09:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #424242 ≈ 0.003% of males
Achromatomaly #333693 ≈ 0.001% of males
Protanopia #004cd7 ≈ 1.01% of males
Deuteranopia #0037cf ≈ 1.27% of males
Tritanopia #005b7d ≈ 0.0001% of males
Protanomaly #003ed5 ≈ 1.08% of males
Deuteranomaly #002ed0 ≈ 4.63% of males
Tritanomaly #004aa6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-021bd2 {
  color: #021bd2;
}
Background
.bg-021bd2 {
  background-color: #021bd2;
  color: #ffffff;
}
Border
.border-021bd2 {
  border: 2px solid #021bd2;
}
CSS variables
:root {
  --color-primary: #021bd2;
  --color-primary-rgb: 2 27 210;
  --color-primary-hsl: 233 98% 42%;
}
Gradient
.gradient-021bd2 {
  background: linear-gradient(135deg, #021bd2, #5102d2);
}
Colored shadow
.shadow-021bd2 {
  box-shadow: 0 8px 24px rgb(2 27 210 / 0.35);
}

Medium Blue
#021bd2  rgb(2, 27, 210)  hsl(233, 98%, 42%)  Medium Blue
#d2b902  rgb(210, 185, 2)  hsl(53, 98%, 42%)  Old Gold
#d2021b  rgb(210, 2, 27)  hsl(353, 98%, 42%)  Lava
#1bd202  rgb(27, 210, 2)  hsl(113, 98%, 42%)  Lime Green