#AFABE2#AFABE2

#AFABE2 is a light, moderate blue. Relative luminance 0.437; OKLCH L 76.4% C 0.078 H 287.7°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#AFABE2
RGBrgb(175, 171, 226)
HSLhsl(244, 49%, 78%)
HSVhsv(244, 24%, 89%)
CMYKcmyk(22.6%, 24.3%, 0%, 11.4%)
CIE-LABlab(72.05, 12.95, -27.11)
CIE-LCHlch(72.05, 30.05, 295.53°)
OKLaboklab(76.39% 0.0238 -0.0745)
OKLCHoklch(76.39% 0.078 287.7)
XYZxyz(45.9663, 43.7300, 77.9558)
Luminance0.4373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFABE2 #DEE2AB
analogous
#ABC2E2 #AFABE2 #CBABE2
triadic
#AFABE2 #E2AFAB #ABE2AF
tetradic
#AFABE2 #E2ABC2 #DEE2AB #ABE2CB
square
#AFABE2 #E2ABC2 #DEE2AB #ABE2CB
split-complementary
#AFABE2 #E2CBAB #C2E2AB
monochromatic
#5850C3 #847ED2 #AFABE2 #DAD8F2 #E9E8F7

Accessibility & contrast

On white

2.15
#AFABE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#AFABE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFABE2
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFABE2#FFFFFF#000000##000000
##AFABE21.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB2E4
Deuteranopia (green-blind)
#9CAFE1
Tritanopia (blue-blind)
#A4B4BE
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afabe2;
/* rgb */ color: rgb(175, 171, 226);
/* oklch */ color: oklch(76.4% 0.078 287.7);
Tailwind
colors: {
  custom: {
    50: '#c7c4eb',
    500: '#afabe2',
    950: '#000000',
  },
}
SCSS
$custom: #afabe2;
$custom-light: #c7c4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#afabe2",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 226
  },
  "hsl": {
    "h": 244.364,
    "s": 48.673,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76391,
    "c": 0.07824,
    "h": 287.7
  },
  "luminance": 0.43731
}

Semantic roles & 50–950 ramp

primary
#AFABE2
secondary
#EDEEDD
accent
#BC2AB1
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFABE2

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

Preview Lab → · Contrast checker → · Palette generator →

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