#AFBEFB#AFBEFB

#AFBEFB is a light, moderate blue. Relative luminance 0.529; OKLCH L 81.2% C 0.088 H 273.6°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#AFBEFB
RGBrgb(175, 190, 251)
HSLhsl(228, 90%, 84%)
HSVhsv(228, 30%, 98%)
CMYKcmyk(30.3%, 24.3%, 0%, 1.6%)
CIE-LABlab(77.82, 8.45, -31.77)
CIE-LCHlch(77.82, 32.87, 284.89°)
OKLaboklab(81.18% 0.0055 -0.0878)
OKLCHoklch(81.18% 0.088 273.6)
XYZxyz(53.5004, 52.9042, 98.6408)
Luminance0.5291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBEFB #FBECAF
analogous
#AFE4FB #AFBEFB #C6AFFB
triadic
#AFBEFB #FBAFBE #BEFBAF
tetradic
#AFBEFB #FBAFE4 #FBECAF #AFFBC6
square
#AFBEFB #FBAFE4 #FBECAF #AFFBC6
split-complementary
#AFBEFB #FBC6AF #E4FBAF
monochromatic
#3A5FF5 #758FF8 #AFBEFB #E2E7FE #E2E7FE

Accessibility & contrast

On white

1.81
#AFBEFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#AFBEFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBEFB
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBEFB#FFFFFF#000000##000000
##AFBEFB1.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABC4FE
Deuteranopia (green-blind)
#A6BEFA
Tritanopia (blue-blind)
#9BCAD3
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afbefb;
/* rgb */ color: rgb(175, 190, 251);
/* oklch */ color: oklch(81.2% 0.088 273.6);
Tailwind
colors: {
  custom: {
    50: '#c8d1fc',
    500: '#afbefb',
    950: '#000000',
  },
}
SCSS
$custom: #afbefb;
$custom-light: #c8d1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#afbefb",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 251
  },
  "hsl": {
    "h": 228.158,
    "s": 90.476,
    "l": 83.529
  },
  "oklch": {
    "l": 0.81178,
    "c": 0.08797,
    "h": 273.6
  },
  "luminance": 0.52906
}

Semantic roles & 50–950 ramp

primary
#AFBEFB
secondary
#DFC96F
accent
#B800E6
background
#FDFEFF
surface
#F9FBFF
border
#D2D4D7
text
#131417
muted
#828385

Preview Lab

Preview with #AFBEFB

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

Preview Lab → · Contrast checker → · Palette generator →

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