#AFBAFA#AFBAFA

#AFBAFA is a light, moderate blue. Relative luminance 0.511; OKLCH L 80.3% C 0.092 H 276.6°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#AFBAFA
RGBrgb(175, 186, 250)
HSLhsl(231, 88%, 83%)
HSVhsv(231, 30%, 98%)
CMYKcmyk(30%, 25.6%, 0%, 2%)
CIE-LABlab(76.76, 10.39, -32.86)
CIE-LCHlch(76.76, 34.47, 287.55°)
OKLaboklab(80.34% 0.0105 -0.0909)
OKLCHoklch(80.34% 0.092 276.6)
XYZxyz(52.4887, 51.1323, 97.5279)
Luminance0.5113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBAFA #FAEFAF
analogous
#AFDFFA #AFBAFA #C9AFFA
triadic
#AFBAFA #FAAFBA #BAFAAF
tetradic
#AFBAFA #FAAFDF #FAEFAF #AFFAC9
square
#AFBAFA #FAAFDF #FAEFAF #AFFAC9
split-complementary
#AFBAFA #FAC9AF #DFFAAF
monochromatic
#3C57F3 #7588F6 #AFBAFA #E2E6FD #E2E6FD

Accessibility & contrast

On white

1.87
#AFBAFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#AFBAFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBAFA
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBAFA#FFFFFF#000000##000000
##AFBAFA1.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7C0FD
Deuteranopia (green-blind)
#A2BBF8
Tritanopia (blue-blind)
#9BC6D0
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afbafa;
/* rgb */ color: rgb(175, 186, 250);
/* oklch */ color: oklch(80.3% 0.092 276.6);
Tailwind
colors: {
  custom: {
    50: '#c8cefc',
    500: '#afbafa',
    950: '#000000',
  },
}
SCSS
$custom: #afbafa;
$custom-light: #c8cefc;
$custom-dark: #000000;
JSON
{
  "hex": "#afbafa",
  "rgb": {
    "r": 175,
    "g": 186,
    "b": 250
  },
  "hsl": {
    "h": 231.2,
    "s": 88.235,
    "l": 83.333
  },
  "oklch": {
    "l": 0.80342,
    "c": 0.09152,
    "h": 276.6
  },
  "luminance": 0.51134
}

Semantic roles & 50–950 ramp

primary
#AFBAFA
secondary
#DDCD70
accent
#C301E5
background
#FDFEFF
surface
#F9FAFF
border
#D2D3D7
text
#131317
muted
#828385

Preview Lab

Preview with #AFBAFA

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

Preview Lab → · Contrast checker → · Palette generator →

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