#AFBEF8#AFBEF8

#AFBEF8 is a light, moderate blue. Relative luminance 0.527; OKLCH L 81.1% C 0.084 H 273.2°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#AFBEF8
RGBrgb(175, 190, 248)
HSLhsl(228, 84%, 83%)
HSVhsv(228, 29%, 97%)
CMYKcmyk(29.4%, 23.4%, 0%, 2.7%)
CIE-LABlab(77.71, 7.71, -30.33)
CIE-LCHlch(77.71, 31.29, 284.27°)
OKLaboklab(81.05% 0.0046 -0.0837)
OKLCHoklch(81.05% 0.084 273.2)
XYZxyz(53.0312, 52.7165, 96.1699)
Luminance0.5272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBEF8 #F8E9AF
analogous
#AFE2F8 #AFBEF8 #C4AFF8
triadic
#AFBEF8 #F8AFBE #BEF8AF
tetradic
#AFBEF8 #F8AFE2 #F8E9AF #AFF8C4
square
#AFBEF8 #F8AFE2 #F8E9AF #AFF8C4
split-complementary
#AFBEF8 #F8C4AF #E2F8AF
monochromatic
#3E63EE #7790F3 #AFBEF8 #E3E8FD #E3E8FD

Accessibility & contrast

On white

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

On black

11.54
#AFBEF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBEF8
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBEF8#FFFFFF#000000##000000
##AFBEF81.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACC3FB
Deuteranopia (green-blind)
#A7BDF7
Tritanopia (blue-blind)
#9CC9D2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afbef8;
/* rgb */ color: rgb(175, 190, 248);
/* oklch */ color: oklch(81.1% 0.084 273.2);
Tailwind
colors: {
  custom: {
    50: '#c8d1fa',
    500: '#afbef8',
    950: '#000000',
  },
}
SCSS
$custom: #afbef8;
$custom-light: #c8d1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#afbef8",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 248
  },
  "hsl": {
    "h": 227.671,
    "s": 83.908,
    "l": 82.941
  },
  "oklch": {
    "l": 0.81055,
    "c": 0.08385,
    "h": 273.2
  },
  "luminance": 0.52718
}

Semantic roles & 50–950 ramp

primary
#AFBEF8
secondary
#DAC571
accent
#B305E0
background
#FDFEFF
surface
#F9FBFF
border
#D2D4D7
text
#131417
muted
#828385

Preview Lab

Preview with #AFBEF8

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

Preview Lab → · Contrast checker → · Palette generator →

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