#AFB4FA#AFB4FA

#AFB4FA is a light, moderate blue. Relative luminance 0.487; OKLCH L 79.2% C 0.099 H 280.7°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#AFB4FA
RGBrgb(175, 180, 250)
HSLhsl(236, 88%, 83%)
HSVhsv(236, 30%, 98%)
CMYKcmyk(30%, 28%, 0%, 2%)
CIE-LABlab(75.24, 13.70, -35.21)
CIE-LCHlch(75.24, 37.78, 291.26°)
OKLaboklab(79.16% 0.0185 -0.0976)
OKLCHoklch(79.16% 0.099 280.7)
XYZxyz(51.2511, 48.6572, 97.1154)
Luminance0.4866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB4FA #FAF5AF
analogous
#AFD9FA #AFB4FA #CFAFFA
triadic
#AFB4FA #FAAFB4 #B4FAAF
tetradic
#AFB4FA #FAAFD9 #FAF5AF #AFFACF
square
#AFB4FA #FAAFD9 #FAF5AF #AFFACF
split-complementary
#AFB4FA #FACFAF #D9FAAF
monochromatic
#3C48F3 #757EF6 #AFB4FA #E2E4FD #E2E4FD

Accessibility & contrast

On white

1.96
#AFB4FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#AFB4FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB4FA
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB4FA#FFFFFF#000000##000000
##AFB4FA1.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0BCFD
Deuteranopia (green-blind)
#9CB7F8
Tritanopia (blue-blind)
#9CC1CD
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afb4fa;
/* rgb */ color: rgb(175, 180, 250);
/* oklch */ color: oklch(79.2% 0.099 280.7);
Tailwind
colors: {
  custom: {
    50: '#c8cafc',
    500: '#afb4fa',
    950: '#000000',
  },
}
SCSS
$custom: #afb4fa;
$custom-light: #c8cafc;
$custom-dark: #000000;
JSON
{
  "hex": "#afb4fa",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 250
  },
  "hsl": {
    "h": 236,
    "s": 88.235,
    "l": 83.333
  },
  "oklch": {
    "l": 0.79163,
    "c": 0.09934,
    "h": 280.7
  },
  "luminance": 0.48659
}

Semantic roles & 50–950 ramp

primary
#AFB4FA
secondary
#F5F3D6
accent
#D601E5
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131317
muted
#828285

Preview Lab

Preview with #AFB4FA

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

Preview Lab → · Contrast checker → · Palette generator →

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