#AFB2ED#AFB2ED

#AFB2ED is a light, moderate blue. Relative luminance 0.471; OKLCH L 78.2% C 0.084 H 282.0°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#AFB2ED
RGBrgb(175, 178, 237)
HSLhsl(237, 63%, 81%)
HSVhsv(237, 26%, 93%)
CMYKcmyk(26.2%, 24.9%, 0%, 7.1%)
CIE-LABlab(74.23, 11.66, -29.74)
CIE-LCHlch(74.23, 31.94, 291.41°)
OKLaboklab(78.22% 0.0174 -0.082)
OKLCHoklch(78.22% 0.084 282)
XYZxyz(48.8817, 47.0681, 86.6140)
Luminance0.4707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB2ED #EDEAAF
analogous
#AFD1ED #AFB2ED #CBAFED
triadic
#AFB2ED #EDAFB2 #B2EDAF
tetradic
#AFB2ED #EDAFD1 #EDEAAF #AFEDCB
square
#AFB2ED #EDAFD1 #EDEAAF #AFEDCB
split-complementary
#AFB2ED #EDCBAF #D1EDAF
monochromatic
#4B52D7 #7D82E2 #AFB2ED #E1E2F8 #E6E7F9

Accessibility & contrast

On white

2.02
#AFB2ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#AFB2ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB2ED
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB2ED#FFFFFF#000000##000000
##AFB2ED1.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2B9F0
Deuteranopia (green-blind)
#9FB5EB
Tritanopia (blue-blind)
#A0BCC6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afb2ed;
/* rgb */ color: rgb(175, 178, 237);
/* oklch */ color: oklch(78.2% 0.084 282.0);
Tailwind
colors: {
  custom: {
    50: '#c8c9f3',
    500: '#afb2ed',
    950: '#000000',
  },
}
SCSS
$custom: #afb2ed;
$custom-light: #c8c9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#afb2ed",
  "rgb": {
    "r": 175,
    "g": 178,
    "b": 237
  },
  "hsl": {
    "h": 237.097,
    "s": 63.265,
    "l": 80.784
  },
  "oklch": {
    "l": 0.7822,
    "c": 0.08383,
    "h": 282
  },
  "luminance": 0.47069
}

Semantic roles & 50–950 ramp

primary
#AFB2ED
secondary
#F1F0DA
accent
#C21ACB
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#131317
muted
#828285

Preview Lab

Preview with #AFB2ED

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

Preview Lab → · Contrast checker → · Palette generator →

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