#AFB5FA#AFB5FA

#AFB5FA is a light, moderate blue. Relative luminance 0.491; OKLCH L 79.4% C 0.098 H 280.1°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#AFB5FA
RGBrgb(175, 181, 250)
HSLhsl(235, 88%, 83%)
HSVhsv(235, 30%, 98%)
CMYKcmyk(30%, 27.6%, 0%, 2%)
CIE-LABlab(75.49, 13.15, -34.82)
CIE-LCHlch(75.49, 37.22, 290.69°)
OKLaboklab(79.36% 0.0171 -0.0965)
OKLCHoklch(79.36% 0.098 280.1)
XYZxyz(51.4537, 49.0624, 97.1830)
Luminance0.4906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB5FA #FAF4AF
analogous
#AFDAFA #AFB5FA #CEAFFA
triadic
#AFB5FA #FAAFB5 #B5FAAF
tetradic
#AFB5FA #FAAFDA #FAF4AF #AFFACE
square
#AFB5FA #FAAFDA #FAF4AF #AFFACE
split-complementary
#AFB5FA #FACEAF #DAFAAF
monochromatic
#3C4AF3 #7580F6 #AFB5FA #E2E4FD #E2E4FD

Accessibility & contrast

On white

1.94
#AFB5FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#AFB5FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB5FA
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB5FA#FFFFFF#000000##000000
##AFB5FA1.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1BDFD
Deuteranopia (green-blind)
#9DB7F8
Tritanopia (blue-blind)
#9CC2CD
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afb5fa;
/* rgb */ color: rgb(175, 181, 250);
/* oklch */ color: oklch(79.4% 0.098 280.1);
Tailwind
colors: {
  custom: {
    50: '#c8cbfc',
    500: '#afb5fa',
    950: '#000000',
  },
}
SCSS
$custom: #afb5fa;
$custom-light: #c8cbfc;
$custom-dark: #000000;
JSON
{
  "hex": "#afb5fa",
  "rgb": {
    "r": 175,
    "g": 181,
    "b": 250
  },
  "hsl": {
    "h": 235.2,
    "s": 88.235,
    "l": 83.333
  },
  "oklch": {
    "l": 0.79358,
    "c": 0.09801,
    "h": 280.1
  },
  "luminance": 0.49064
}

Semantic roles & 50–950 ramp

primary
#AFB5FA
secondary
#F5F3D6
accent
#D301E5
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131317
muted
#828285

Preview Lab

Preview with #AFB5FA

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

Preview Lab → · Contrast checker → · Palette generator →

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