#AFABEF#AFABEF

#AFABEF is a light, moderate blue. Relative luminance 0.445; OKLCH L 76.9% C 0.097 H 286.6°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#AFABEF
RGBrgb(175, 171, 239)
HSLhsl(244, 68%, 80%)
HSVhsv(244, 28%, 94%)
CMYKcmyk(26.8%, 28.5%, 0%, 6.3%)
CIE-LABlab(72.54, 16.02, -33.43)
CIE-LCHlch(72.54, 37.07, 295.61°)
OKLaboklab(76.94% 0.0276 -0.0925)
OKLCHoklch(76.94% 0.097 286.6)
XYZxyz(47.8181, 44.4708, 87.7090)
Luminance0.4447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFABEF #EBEFAB
analogous
#ABC9EF #AFABEF #D1ABEF
triadic
#AFABEF #EFAFAB #ABEFAF
tetradic
#AFABEF #EFABC9 #EBEFAB #ABEFD1
square
#AFABEF #EFABC9 #EBEFAB #ABEFD1
split-complementary
#AFABEF #EFD1AB #C9EFAB
monochromatic
#4D44DB #7E78E5 #AFABEF #E0DEF9 #E7E5FA

Accessibility & contrast

On white

2.12
#AFABEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#AFABEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFABEF
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFABEF#FFFFFF#000000##000000
##AFABEF1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B4F2
Deuteranopia (green-blind)
#97B0ED
Tritanopia (blue-blind)
#A0B7C3
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #afabef;
/* rgb */ color: rgb(175, 171, 239);
/* oklch */ color: oklch(76.9% 0.097 286.6);
Tailwind
colors: {
  custom: {
    50: '#c8c4f4',
    500: '#afabef',
    950: '#000000',
  },
}
SCSS
$custom: #afabef;
$custom-light: #c8c4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#afabef",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 239
  },
  "hsl": {
    "h": 243.529,
    "s": 68,
    "l": 80.392
  },
  "oklch": {
    "l": 0.76937,
    "c": 0.09652,
    "h": 286.6
  },
  "luminance": 0.44472
}

Semantic roles & 50–950 ramp

primary
#AFABEF
secondary
#F0F2D9
accent
#D016C5
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#131217
muted
#828185

Preview Lab

Preview with #AFABEF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AFABEF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva