#AFBEF8

#afbef8 ≈ Periwinkle

  • blue
  • Lightness: very high
  • Saturation: moderate
  • Cool

#afbef8 is a color from the blue family, with very high lightness and moderate saturation. In the RGB model it is made of 68.63% red, 74.51% green and 97.25% blue; printed in CMYK it uses 29.44% cyan, 23.39% magenta, 0% yellow and 2.75% black. Its hue angle is 227.67°, with 83.91% saturation and 82.94% 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 soft pastel palettes. Black text on this color reaches a contrast ratio of 11.54:1 (WCAG AAA). The closest named color is Periwinkle (#ccccff), ΔE 6.48.

Description generated from the measured properties of this color.

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

Readable text 1.82:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.54:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c0c0c0 ≈ 0.003% of males
Achromatomaly #b9bfd9 ≈ 0.001% of males
Protanopia #acc3fb ≈ 1.01% of males
Deuteranopia #a7bdf7 ≈ 1.27% of males
Tritanopia #9cc9d2 ≈ 0.0001% of males
Protanomaly #adc1fa ≈ 1.08% of males
Deuteranomaly #aabef7 ≈ 4.63% of males
Tritanomaly #a4c5e2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afbef8 {
  color: #afbef8;
}
Background
.bg-afbef8 {
  background-color: #afbef8;
  color: #000000;
}
Border
.border-afbef8 {
  border: 2px solid #afbef8;
}
CSS variables
:root {
  --color-primary: #afbef8;
  --color-primary-rgb: 175 190 248;
  --color-primary-hsl: 228 84% 83%;
}
Gradient
.gradient-afbef8 {
  background: linear-gradient(135deg, #afbef8, #c4aff8);
}
Colored shadow
.shadow-afbef8 {
  box-shadow: 0 8px 24px rgb(175 190 248 / 0.35);
}

Periwinkle
#afbef8  rgb(175, 190, 248)  hsl(228, 84%, 83%)  Periwinkle
#f8e9af  rgb(248, 233, 175)  hsl(48, 84%, 83%)  Vanilla
#f8afbe  rgb(248, 175, 190)  hsl(348, 84%, 83%)  Cherry Blossom Pink
#bef8af  rgb(190, 248, 175)  hsl(108, 84%, 83%)  Granny Smith Apple