#AFBEF6#AFBEF6

#AFBEF6 is a light, moderate blue. Relative luminance 0.526; OKLCH L 81.0% C 0.081 H 272.8°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#AFBEF6
RGBrgb(175, 190, 246)
HSLhsl(227, 80%, 83%)
HSVhsv(227, 29%, 96%)
CMYKcmyk(28.9%, 22.8%, 0%, 3.5%)
CIE-LABlab(77.63, 7.23, -29.37)
CIE-LCHlch(77.63, 30.24, 283.83°)
OKLaboklab(80.97% 0.004 -0.081)
OKLCHoklch(80.97% 0.081 272.8)
XYZxyz(52.7226, 52.5931, 94.5445)
Luminance0.5260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBEF6 #F6E7AF
analogous
#AFE1F6 #AFBEF6 #C4AFF6
triadic
#AFBEF6 #F6AFBE #BEF6AF
tetradic
#AFBEF6 #F6AFE1 #F6E7AF #AFF6C4
square
#AFBEF6 #F6AFE1 #F6E7AF #AFF6C4
split-complementary
#AFBEF6 #F6C4AF #E1F6AF
monochromatic
#4165EA #7891F0 #AFBEF6 #E3E9FC #E3E9FC

Accessibility & contrast

On white

1.82
#AFBEF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#AFBEF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBEF6
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBEF6#FFFFFF#000000##000000
##AFBEF61.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADC3F9
Deuteranopia (green-blind)
#A8BDF5
Tritanopia (blue-blind)
#9CC9D1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afbef6;
/* rgb */ color: rgb(175, 190, 246);
/* oklch */ color: oklch(81.0% 0.081 272.8);
Tailwind
colors: {
  custom: {
    50: '#c8d1f9',
    500: '#afbef6',
    950: '#000000',
  },
}
SCSS
$custom: #afbef6;
$custom-light: #c8d1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#afbef6",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 246
  },
  "hsl": {
    "h": 227.324,
    "s": 79.775,
    "l": 82.549
  },
  "oklch": {
    "l": 0.80974,
    "c": 0.08109,
    "h": 272.8
  },
  "luminance": 0.52595
}

Semantic roles & 50–950 ramp

primary
#AFBEF6
secondary
#D7C272
accent
#B009DC
background
#FDFEFF
surface
#F9FBFF
border
#D2D4D7
text
#131417
muted
#828385

Preview Lab

Preview with #AFBEF6

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

Preview Lab → · Contrast checker → · Palette generator →

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