#AFBAFE#AFBAFE

#AFBAFE is a light, moderate blue. Relative luminance 0.514; OKLCH L 80.5% C 0.097 H 276.9°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#AFBAFE
RGBrgb(175, 186, 254)
HSLhsl(232, 98%, 84%)
HSVhsv(232, 31%, 100%)
CMYKcmyk(31.1%, 26.8%, 0%, 0.4%)
CIE-LABlab(76.91, 11.38, -34.77)
CIE-LCHlch(76.91, 36.59, 288.12°)
OKLaboklab(80.51% 0.0117 -0.0964)
OKLCHoklch(80.51% 0.097 276.9)
XYZxyz(53.1225, 51.3858, 100.8662)
Luminance0.5139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBAFE #FEF3AF
analogous
#AFE2FE #AFBAFE #CCAFFE
triadic
#AFBAFE #FEAFBA #BAFEAF
tetradic
#AFBAFE #FEAFE2 #FEF3AF #AFFECC
square
#AFBAFE #FEAFE2 #FEF3AF #AFFECC
split-complementary
#AFBAFE #FECCAF #E2FEAF
monochromatic
#3652FC #7386FD #AFBAFE #E1E5FF #E1E5FF

Accessibility & contrast

On white

1.86
#AFBAFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#AFBAFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBAFE
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBAFE#FFFFFF#000000##000000
##AFBAFE1.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6C1FF
Deuteranopia (green-blind)
#A1BBFC
Tritanopia (blue-blind)
#9AC7D2
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #afbafe;
/* rgb */ color: rgb(175, 186, 254);
/* oklch */ color: oklch(80.5% 0.097 276.9);
Tailwind
colors: {
  custom: {
    50: '#c8ceff',
    500: '#afbafe',
    950: '#000000',
  },
}
SCSS
$custom: #afbafe;
$custom-light: #c8ceff;
$custom-dark: #000000;
JSON
{
  "hex": "#afbafe",
  "rgb": {
    "r": 175,
    "g": 186,
    "b": 254
  },
  "hsl": {
    "h": 231.646,
    "s": 97.531,
    "l": 84.118
  },
  "oklch": {
    "l": 0.80512,
    "c": 0.09707,
    "h": 276.9
  },
  "luminance": 0.51388
}

Semantic roles & 50–950 ramp

primary
#AFBAFE
secondary
#E4D36E
accent
#C600E6
background
#FDFEFF
surface
#F9FAFF
border
#D2D3D7
text
#131318
muted
#828386

Preview Lab

Preview with #AFBAFE

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

Preview Lab → · Contrast checker → · Palette generator →

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