#AFBEF5#AFBEF5

#AFBEF5 is a light, moderate blue. Relative luminance 0.525; OKLCH L 80.9% C 0.080 H 272.7°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#AFBEF5
RGBrgb(175, 190, 245)
HSLhsl(227, 78%, 82%)
HSVhsv(227, 29%, 96%)
CMYKcmyk(28.6%, 22.4%, 0%, 3.9%)
CIE-LABlab(77.60, 6.99, -28.89)
CIE-LCHlch(77.60, 29.72, 283.60°)
OKLaboklab(80.93% 0.0037 -0.0796)
OKLCHoklch(80.93% 0.08 272.7)
XYZxyz(52.5696, 52.5318, 93.7384)
Luminance0.5253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBEF5 #F5E6AF
analogous
#AFE1F5 #AFBEF5 #C3AFF5
triadic
#AFBEF5 #F5AFBE #BEF5AF
tetradic
#AFBEF5 #F5AFE1 #F5E6AF #AFF5C3
square
#AFBEF5 #F5AFE1 #F5E6AF #AFF5C3
split-complementary
#AFBEF5 #F5C3AF #E1F5AF
monochromatic
#4266E7 #7992EE #AFBEF5 #E4E9FC #E4E9FC

Accessibility & contrast

On white

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

On black

11.51
#AFBEF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBEF5
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBEF5#FFFFFF#000000##000000
##AFBEF51.001.8311.5111.51
#FFFFFF1.831.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADC3F7
Deuteranopia (green-blind)
#A8BDF4
Tritanopia (blue-blind)
#9DC8D1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afbef5;
/* rgb */ color: rgb(175, 190, 245);
/* oklch */ color: oklch(80.9% 0.080 272.7);
Tailwind
colors: {
  custom: {
    50: '#c8d1f8',
    500: '#afbef5',
    950: '#000000',
  },
}
SCSS
$custom: #afbef5;
$custom-light: #c8d1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#afbef5",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 245
  },
  "hsl": {
    "h": 227.143,
    "s": 77.778,
    "l": 82.353
  },
  "oklch": {
    "l": 0.80934,
    "c": 0.07972,
    "h": 272.7
  },
  "luminance": 0.52533
}

Semantic roles & 50–950 ramp

primary
#AFBEF5
secondary
#D6C073
accent
#AE0BDA
background
#FDFEFF
surface
#F9FBFF
border
#D2D4D7
text
#131417
muted
#828385

Preview Lab

Preview with #AFBEF5

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

Preview Lab → · Contrast checker → · Palette generator →

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