#AFB7EE#AFB7EE

#AFB7EE is a light, moderate blue. Relative luminance 0.492; OKLCH L 79.3% C 0.079 H 278.0°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#AFB7EE
RGBrgb(175, 183, 238)
HSLhsl(232, 65%, 81%)
HSVhsv(232, 26%, 93%)
CMYKcmyk(26.5%, 23.1%, 0%, 6.7%)
CIE-LABlab(75.55, 9.14, -28.26)
CIE-LCHlch(75.55, 29.70, 287.93°)
OKLaboklab(79.25% 0.011 -0.0778)
OKLCHoklch(79.25% 0.079 278)
XYZxyz(50.0412, 49.1527, 87.7232)
Luminance0.4915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB7EE #EEE6AF
analogous
#AFD6EE #AFB7EE #C6AFEE
triadic
#AFB7EE #EEAFB7 #B7EEAF
tetradic
#AFB7EE #EEAFD6 #EEE6AF #AFEEC6
square
#AFB7EE #EEAFD6 #EEE6AF #AFEEC6
split-complementary
#AFB7EE #EEC6AF #D6EEAF
monochromatic
#4A5CD9 #7D8AE3 #AFB7EE #E1E4F9 #E6E8FA

Accessibility & contrast

On white

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

On black

10.83
#AFB7EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB7EE
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB7EE#FFFFFF#000000##000000
##AFB7EE1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7BDF0
Deuteranopia (green-blind)
#A4B8ED
Tritanopia (blue-blind)
#9FC1CA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afb7ee;
/* rgb */ color: rgb(175, 183, 238);
/* oklch */ color: oklch(79.3% 0.079 278.0);
Tailwind
colors: {
  custom: {
    50: '#c8ccf3',
    500: '#afb7ee',
    950: '#000000',
  },
}
SCSS
$custom: #afb7ee;
$custom-light: #c8ccf3;
$custom-dark: #000000;
JSON
{
  "hex": "#afb7ee",
  "rgb": {
    "r": 175,
    "g": 183,
    "b": 238
  },
  "hsl": {
    "h": 232.381,
    "s": 64.948,
    "l": 80.98
  },
  "oklch": {
    "l": 0.79252,
    "c": 0.0786,
    "h": 278
  },
  "luminance": 0.49154
}

Semantic roles & 50–950 ramp

primary
#AFB7EE
secondary
#F1EEDA
accent
#B619CD
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#131317
muted
#828285

Preview Lab

Preview with #AFB7EE

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

Preview Lab → · Contrast checker → · Palette generator →

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