#021FD3

#021fd3 ≈ Medium Blue

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

#021fd3 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 0.78% red, 12.16% green and 82.75% blue; printed in CMYK it uses 99.05% cyan, 85.31% magenta, 0% yellow and 17.25% black. Its hue angle is 231.67°, with 98.12% saturation and 41.76% 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 9.82:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.45.

Description generated from the measured properties of this color.

Conversions of #021fd3 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.057

Readable text 9.82:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.14:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #434343 ≈ 0.003% of males
Achromatomaly #343894 ≈ 0.001% of males
Protanopia #004ed8 ≈ 1.01% of males
Deuteranopia #0039d0 ≈ 1.27% of males
Tritanopia #005d7e ≈ 0.0001% of males
Protanomaly #0040d6 ≈ 1.08% of males
Deuteranomaly #0030d1 ≈ 4.63% of males
Tritanomaly #004ba7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-021fd3 {
  color: #021fd3;
}
Background
.bg-021fd3 {
  background-color: #021fd3;
  color: #ffffff;
}
Border
.border-021fd3 {
  border: 2px solid #021fd3;
}
CSS variables
:root {
  --color-primary: #021fd3;
  --color-primary-rgb: 2 31 211;
  --color-primary-hsl: 232 98% 42%;
}
Gradient
.gradient-021fd3 {
  background: linear-gradient(135deg, #021fd3, #4d02d3);
}
Colored shadow
.shadow-021fd3 {
  box-shadow: 0 8px 24px rgb(2 31 211 / 0.35);
}

Medium Blue
#021fd3  rgb(2, 31, 211)  hsl(232, 98%, 42%)  Medium Blue
#d3b602  rgb(211, 182, 2)  hsl(52, 98%, 42%)  Old Gold
#d3021f  rgb(211, 2, 31)  hsl(352, 98%, 42%)  Lava
#1fd302  rgb(31, 211, 2)  hsl(112, 98%, 42%)  Lime Green