#AFB7EB#AFB7EB

#AFB7EB is a light, moderate blue. Relative luminance 0.490; OKLCH L 79.1% C 0.074 H 277.7°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#AFB7EB
RGBrgb(175, 183, 235)
HSLhsl(232, 60%, 80%)
HSVhsv(232, 26%, 92%)
CMYKcmyk(25.5%, 22.1%, 0%, 7.8%)
CIE-LABlab(75.44, 8.43, -26.81)
CIE-LCHlch(75.44, 28.10, 287.46°)
OKLaboklab(79.13% 0.01 -0.0737)
OKLCHoklch(79.13% 0.074 277.7)
XYZxyz(49.6042, 48.9779, 85.4213)
Luminance0.4898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB7EB #EBE3AF
analogous
#AFD5EB #AFB7EB #C5AFEB
triadic
#AFB7EB #EBAFB7 #B7EBAF
tetradic
#AFB7EB #EBAFD5 #EBE3AF #AFEBC5
square
#AFB7EB #EBAFD5 #EBE3AF #AFEBC5
split-complementary
#AFB7EB #EBC5AF #D5EBAF
monochromatic
#4D5FD3 #7E8BDF #AFB7EB #E0E3F7 #E7E9F9

Accessibility & contrast

On white

1.95
#AFB7EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#AFB7EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB7EB
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB7EB#FFFFFF#000000##000000
##AFB7EB1.001.9510.8010.80
#FFFFFF1.951.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8BCED
Deuteranopia (green-blind)
#A5B8EA
Tritanopia (blue-blind)
#A0C0C9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afb7eb;
/* rgb */ color: rgb(175, 183, 235);
/* oklch */ color: oklch(79.1% 0.074 277.7);
Tailwind
colors: {
  custom: {
    50: '#c8ccf1',
    500: '#afb7eb',
    950: '#000000',
  },
}
SCSS
$custom: #afb7eb;
$custom-light: #c8ccf1;
$custom-dark: #000000;
JSON
{
  "hex": "#afb7eb",
  "rgb": {
    "r": 175,
    "g": 183,
    "b": 235
  },
  "hsl": {
    "h": 232,
    "s": 60,
    "l": 80.392
  },
  "oklch": {
    "l": 0.79132,
    "c": 0.0744,
    "h": 277.7
  },
  "luminance": 0.48979
}

Semantic roles & 50–950 ramp

primary
#AFB7EB
secondary
#F0EDDB
accent
#B11EC8
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#131316
muted
#828284

Preview Lab

Preview with #AFB7EB

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

Preview Lab → · Contrast checker → · Palette generator →

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