#AFB4EA#AFB4EA

#AFB4EA is a light, moderate blue. Relative luminance 0.477; OKLCH L 78.5% C 0.077 H 280.3°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#AFB4EA
RGBrgb(175, 180, 234)
HSLhsl(235, 58%, 80%)
HSVhsv(235, 25%, 92%)
CMYKcmyk(25.2%, 23.1%, 0%, 8.2%)
CIE-LABlab(74.63, 9.84, -27.50)
CIE-LCHlch(74.63, 29.21, 289.70°)
OKLaboklab(78.49% 0.0138 -0.0757)
OKLCHoklch(78.49% 0.077 280.3)
XYZxyz(48.8479, 47.6959, 84.4585)
Luminance0.4770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB4EA #EAE5AF
analogous
#AFD2EA #AFB4EA #C7AFEA
triadic
#AFB4EA #EAAFB4 #B4EAAF
tetradic
#AFB4EA #EAAFD2 #EAE5AF #AFEAC7
square
#AFB4EA #EAAFD2 #EAE5AF #AFEAC7
split-complementary
#AFB4EA #EAC7AF #D2EAAF
monochromatic
#4E59D1 #7F87DD #AFB4EA #DFE1F7 #E7E8F9

Accessibility & contrast

On white

1.99
#AFB4EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#AFB4EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB4EA
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB4EA#FFFFFF#000000##000000
##AFB4EA1.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5BAEC
Deuteranopia (green-blind)
#A2B6E9
Tritanopia (blue-blind)
#A1BEC6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afb4ea;
/* rgb */ color: rgb(175, 180, 234);
/* oklch */ color: oklch(78.5% 0.077 280.3);
Tailwind
colors: {
  custom: {
    50: '#c8caf1',
    500: '#afb4ea',
    950: '#000000',
  },
}
SCSS
$custom: #afb4ea;
$custom-light: #c8caf1;
$custom-dark: #000000;
JSON
{
  "hex": "#afb4ea",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 234
  },
  "hsl": {
    "h": 234.915,
    "s": 58.416,
    "l": 80.196
  },
  "oklch": {
    "l": 0.78494,
    "c": 0.07691,
    "h": 280.3
  },
  "luminance": 0.47697
}

Semantic roles & 50–950 ramp

primary
#AFB4EA
secondary
#F0EEDB
accent
#B81FC6
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#131316
muted
#828284

Preview Lab

Preview with #AFB4EA

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

Preview Lab → · Contrast checker → · Palette generator →

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