#AFB7EA#AFB7EA

#AFB7EA is a light, moderate blue. Relative luminance 0.489; OKLCH L 79.1% C 0.073 H 277.6°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#AFB7EA
RGBrgb(175, 183, 234)
HSLhsl(232, 58%, 80%)
HSVhsv(232, 25%, 92%)
CMYKcmyk(25.2%, 21.8%, 0%, 8.2%)
CIE-LABlab(75.40, 8.20, -26.32)
CIE-LCHlch(75.40, 27.57, 287.30°)
OKLaboklab(79.09% 0.0097 -0.0723)
OKLCHoklch(79.09% 0.073 277.6)
XYZxyz(49.4601, 48.9203, 84.6626)
Luminance0.4892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB7EA #EAE2AF
analogous
#AFD5EA #AFB7EA #C4AFEA
triadic
#AFB7EA #EAAFB7 #B7EAAF
tetradic
#AFB7EA #EAAFD5 #EAE2AF #AFEAC4
square
#AFB7EA #EAAFD5 #EAE2AF #AFEAC4
split-complementary
#AFB7EA #EAC4AF #D5EAAF
monochromatic
#4E60D1 #7F8BDD #AFB7EA #DFE3F7 #E7E9F9

Accessibility & contrast

On white

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

On black

10.78
#AFB7EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB7EA
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB7EA#FFFFFF#000000##000000
##AFB7EA1.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9BCEC
Deuteranopia (green-blind)
#A5B8E9
Tritanopia (blue-blind)
#A1C0C8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afb7ea;
/* rgb */ color: rgb(175, 183, 234);
/* oklch */ color: oklch(79.1% 0.073 277.6);
Tailwind
colors: {
  custom: {
    50: '#c8ccf0',
    500: '#afb7ea',
    950: '#000000',
  },
}
SCSS
$custom: #afb7ea;
$custom-light: #c8ccf0;
$custom-dark: #000000;
JSON
{
  "hex": "#afb7ea",
  "rgb": {
    "r": 175,
    "g": 183,
    "b": 234
  },
  "hsl": {
    "h": 231.864,
    "s": 58.416,
    "l": 80.196
  },
  "oklch": {
    "l": 0.79092,
    "c": 0.07299,
    "h": 277.6
  },
  "luminance": 0.48921
}

Semantic roles & 50–950 ramp

primary
#AFB7EA
secondary
#F0EDDB
accent
#AF1FC6
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#131316
muted
#828284

Preview Lab

Preview with #AFB7EA

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

Preview Lab → · Contrast checker → · Palette generator →

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