#024DEF

#024def ≈ Iris

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

#024def is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 0.78% red, 30.2% green and 93.73% blue; printed in CMYK it uses 99.16% cyan, 67.78% magenta, 0% yellow and 6.27% black. Its hue angle is 221.01°, with 98.34% saturation and 47.25% 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 6.34:1 (WCAG AA). The closest named color is Iris (#5a4fcf), ΔE 6.54.

Description generated from the measured properties of this color.

Conversions of #024def into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#0066ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1155

Readable text 6.34:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.31:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5f5f5f ≈ 0.003% of males
Achromatomaly #4b59ac ≈ 0.001% of males
Protanopia #006af4 ≈ 1.01% of males
Deuteranopia #0055ec ≈ 1.27% of males
Tritanopia #007b98 ≈ 0.0001% of males
Protanomaly #0060f2 ≈ 1.08% of males
Deuteranomaly #0052ed ≈ 4.63% of males
Tritanomaly #006bc1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-024def {
  color: #024def;
}
Background
.bg-024def {
  background-color: #024def;
  color: #ffffff;
}
Border
.border-024def {
  border: 2px solid #024def;
}
CSS variables
:root {
  --color-primary: #024def;
  --color-primary-rgb: 2 77 239;
  --color-primary-hsl: 221 98% 47%;
}
Gradient
.gradient-024def {
  background: linear-gradient(135deg, #024def, #2d02ef);
}
Colored shadow
.shadow-024def {
  box-shadow: 0 8px 24px rgb(2 77 239 / 0.35);
}

Iris
#024def  rgb(2, 77, 239)  hsl(221, 98%, 47%)  Iris
#efa402  rgb(239, 164, 2)  hsl(41, 98%, 47%)  Marigold
#ef024d  rgb(239, 2, 77)  hsl(341, 98%, 47%)  Amaranth
#4def02  rgb(77, 239, 2)  hsl(101, 98%, 47%)  Harlequin