#AFB4E8#AFB4E8

#AFB4E8 is a light, moderate blue. Relative luminance 0.476; OKLCH L 78.4% C 0.074 H 280.3°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#AFB4E8
RGBrgb(175, 180, 232)
HSLhsl(235, 55%, 80%)
HSVhsv(235, 25%, 91%)
CMYKcmyk(24.6%, 22.4%, 0%, 9%)
CIE-LABlab(74.56, 9.37, -26.53)
CIE-LCHlch(74.56, 28.13, 289.46°)
OKLaboklab(78.41% 0.0132 -0.0729)
OKLCHoklch(78.41% 0.074 280.3)
XYZxyz(48.5622, 47.5816, 82.9539)
Luminance0.4758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB4E8 #E8E3AF
analogous
#AFD1E8 #AFB4E8 #C7AFE8
triadic
#AFB4E8 #E8AFB4 #B4E8AF
tetradic
#AFB4E8 #E8AFD1 #E8E3AF #AFE8C7
square
#AFB4E8 #E8AFD1 #E8E3AF #AFE8C7
split-complementary
#AFB4E8 #E8C7AF #D1E8AF
monochromatic
#505BCD #7F87DA #AFB4E8 #DFE1F6 #E7E9F8

Accessibility & contrast

On white

2.00
#AFB4E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#AFB4E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB4E8
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB4E8#FFFFFF#000000##000000
##AFB4E81.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6B9EA
Deuteranopia (green-blind)
#A3B6E7
Tritanopia (blue-blind)
#A2BDC6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afb4e8;
/* rgb */ color: rgb(175, 180, 232);
/* oklch */ color: oklch(78.4% 0.074 280.3);
Tailwind
colors: {
  custom: {
    50: '#c7caef',
    500: '#afb4e8',
    950: '#000000',
  },
}
SCSS
$custom: #afb4e8;
$custom-light: #c7caef;
$custom-dark: #000000;
JSON
{
  "hex": "#afb4e8",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 232
  },
  "hsl": {
    "h": 234.737,
    "s": 55.34,
    "l": 79.804
  },
  "oklch": {
    "l": 0.78414,
    "c": 0.07409,
    "h": 280.3
  },
  "luminance": 0.47583
}

Semantic roles & 50–950 ramp

primary
#AFB4E8
secondary
#EFEEDC
accent
#B523C3
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#131316
muted
#828284

Preview Lab

Preview with #AFB4E8

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

Preview Lab → · Contrast checker → · Palette generator →

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