#AFB8EA#AFB8EA

#AFB8EA is a light, moderate blue. Relative luminance 0.493; OKLCH L 79.3% C 0.072 H 276.7°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#AFB8EA
RGBrgb(175, 184, 234)
HSLhsl(231, 58%, 80%)
HSVhsv(231, 25%, 92%)
CMYKcmyk(25.2%, 21.4%, 0%, 8.2%)
CIE-LABlab(75.66, 7.65, -25.93)
CIE-LCHlch(75.66, 27.03, 286.44°)
OKLaboklab(79.29% 0.0084 -0.0712)
OKLCHoklch(79.29% 0.072 276.7)
XYZxyz(49.6671, 49.3342, 84.7316)
Luminance0.4934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB8EA #EAE1AF
analogous
#AFD6EA #AFB8EA #C3AFEA
triadic
#AFB8EA #EAAFB8 #B8EAAF
tetradic
#AFB8EA #EAAFD6 #EAE1AF #AFEAC3
square
#AFB8EA #EAAFD6 #EAE1AF #AFEAC3
split-complementary
#AFB8EA #EAC3AF #D6EAAF
monochromatic
#4E62D1 #7F8DDD #AFB8EA #DFE3F7 #E7E9F9

Accessibility & contrast

On white

1.93
#AFB8EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.87
#AFB8EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB8EA
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB8EA#FFFFFF#000000##000000
##AFB8EA1.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AABDEC
Deuteranopia (green-blind)
#A6B8E9
Tritanopia (blue-blind)
#A1C1C9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afb8ea;
/* rgb */ color: rgb(175, 184, 234);
/* oklch */ color: oklch(79.3% 0.072 276.7);
Tailwind
colors: {
  custom: {
    50: '#c8cdf0',
    500: '#afb8ea',
    950: '#000000',
  },
}
SCSS
$custom: #afb8ea;
$custom-light: #c8cdf0;
$custom-dark: #000000;
JSON
{
  "hex": "#afb8ea",
  "rgb": {
    "r": 175,
    "g": 184,
    "b": 234
  },
  "hsl": {
    "h": 230.847,
    "s": 58.416,
    "l": 80.196
  },
  "oklch": {
    "l": 0.79292,
    "c": 0.07173,
    "h": 276.7
  },
  "luminance": 0.49335
}

Semantic roles & 50–950 ramp

primary
#AFB8EA
secondary
#F0EDDB
accent
#AD1FC6
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#131316
muted
#828284

Preview Lab

Preview with #AFB8EA

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

Preview Lab → · Contrast checker → · Palette generator →

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