#AFB4F8#AFB4F8

#AFB4F8 is a light, moderate blue. Relative luminance 0.485; OKLCH L 79.1% C 0.097 H 280.7°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#AFB4F8
RGBrgb(175, 180, 248)
HSLhsl(236, 84%, 83%)
HSVhsv(236, 29%, 97%)
CMYKcmyk(29.4%, 27.4%, 0%, 2.7%)
CIE-LABlab(75.16, 13.21, -34.26)
CIE-LCHlch(75.16, 36.71, 291.09°)
OKLaboklab(79.08% 0.0179 -0.0949)
OKLCHoklch(79.08% 0.097 280.7)
XYZxyz(50.9392, 48.5324, 95.4726)
Luminance0.4853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB4F8 #F8F3AF
analogous
#AFD9F8 #AFB4F8 #CEAFF8
triadic
#AFB4F8 #F8AFB4 #B4F8AF
tetradic
#AFB4F8 #F8AFD9 #F8F3AF #AFF8CE
square
#AFB4F8 #F8AFD9 #F8F3AF #AFF8CE
split-complementary
#AFB4F8 #F8CEAF #D9F8AF
monochromatic
#3E4AEE #777FF3 #AFB4F8 #E3E5FD #E3E5FD

Accessibility & contrast

On white

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

On black

10.71
#AFB4F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB4F8
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB4F8#FFFFFF#000000##000000
##AFB4F81.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0BCFB
Deuteranopia (green-blind)
#9DB7F6
Tritanopia (blue-blind)
#9DC0CC
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afb4f8;
/* rgb */ color: rgb(175, 180, 248);
/* oklch */ color: oklch(79.1% 0.097 280.7);
Tailwind
colors: {
  custom: {
    50: '#c8cafa',
    500: '#afb4f8',
    950: '#000000',
  },
}
SCSS
$custom: #afb4f8;
$custom-light: #c8cafa;
$custom-dark: #000000;
JSON
{
  "hex": "#afb4f8",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 248
  },
  "hsl": {
    "h": 235.89,
    "s": 83.908,
    "l": 82.941
  },
  "oklch": {
    "l": 0.79076,
    "c": 0.09655,
    "h": 280.7
  },
  "luminance": 0.48534
}

Semantic roles & 50–950 ramp

primary
#AFB4F8
secondary
#F4F2D7
accent
#D105E0
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131317
muted
#828285

Preview Lab

Preview with #AFB4F8

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

Preview Lab → · Contrast checker → · Palette generator →

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