#AFBEF2#AFBEF2

#AFBEF2 is a light, moderate blue. Relative luminance 0.524; OKLCH L 80.8% C 0.076 H 272.1°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#AFBEF2
RGBrgb(175, 190, 242)
HSLhsl(227, 72%, 82%)
HSVhsv(227, 28%, 95%)
CMYKcmyk(27.7%, 21.5%, 0%, 5.1%)
CIE-LABlab(77.49, 6.27, -27.44)
CIE-LCHlch(77.49, 28.15, 282.87°)
OKLaboklab(80.81% 0.0028 -0.0755)
OKLCHoklch(80.81% 0.076 272.1)
XYZxyz(52.1153, 52.3501, 91.3459)
Luminance0.5235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBEF2 #F2E3AF
analogous
#AFE0F2 #AFBEF2 #C2AFF2
triadic
#AFBEF2 #F2AFBE #BEF2AF
tetradic
#AFBEF2 #F2AFE0 #F2E3AF #AFF2C2
square
#AFBEF2 #F2AFE0 #F2E3AF #AFF2C2
split-complementary
#AFBEF2 #F2C2AF #E0F2AF
monochromatic
#4668E1 #7A93E9 #AFBEF2 #E4E9FB #E5EAFB

Accessibility & contrast

On white

1.83
#AFBEF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#AFBEF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBEF2
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBEF2#FFFFFF#000000##000000
##AFBEF21.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEC2F4
Deuteranopia (green-blind)
#A9BDF1
Tritanopia (blue-blind)
#9EC8D0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afbef2;
/* rgb */ color: rgb(175, 190, 242);
/* oklch */ color: oklch(80.8% 0.076 272.1);
Tailwind
colors: {
  custom: {
    50: '#c8d1f6',
    500: '#afbef2',
    950: '#000000',
  },
}
SCSS
$custom: #afbef2;
$custom-light: #c8d1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#afbef2",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 242
  },
  "hsl": {
    "h": 226.567,
    "s": 72.043,
    "l": 81.765
  },
  "oklch": {
    "l": 0.80814,
    "c": 0.07558,
    "h": 272.1
  },
  "luminance": 0.52352
}

Semantic roles & 50–950 ramp

primary
#AFBEF2
secondary
#D1BC74
accent
#A911D4
background
#FDFEFF
surface
#F9FBFE
border
#D2D4D6
text
#131417
muted
#828385

Preview Lab

Preview with #AFBEF2

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

Preview Lab → · Contrast checker → · Palette generator →

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