#AFC2EB#AFC2EB

#AFC2EB is a light, moderate blue. Relative luminance 0.537; OKLCH L 81.4% C 0.062 H 265.5°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#AFC2EB
RGBrgb(175, 194, 235)
HSLhsl(221, 60%, 80%)
HSVhsv(221, 26%, 92%)
CMYKcmyk(25.5%, 17.4%, 0%, 7.8%)
CIE-LABlab(78.28, 2.45, -22.47)
CIE-LCHlch(78.28, 22.60, 276.22°)
OKLaboklab(81.35% -0.0048 -0.0615)
OKLCHoklch(81.35% 0.062 265.5)
XYZxyz(51.9623, 53.6942, 86.2074)
Luminance0.5370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC2EB #EBD8AF
analogous
#AFE0EB #AFC2EB #BAAFEB
triadic
#AFC2EB #EBAFC2 #C2EBAF
tetradic
#AFC2EB #EBAFE0 #EBD8AF #AFEBBA
square
#AFC2EB #EBAFE0 #EBD8AF #AFEBBA
split-complementary
#AFC2EB #EBBAAF #E0EBAF
monochromatic
#4D77D3 #7E9DDF #AFC2EB #E0E7F7 #E7ECF9

Accessibility & contrast

On white

1.79
#AFC2EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#AFC2EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC2EB
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC2EB#FFFFFF#000000##000000
##AFC2EB1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5C5ED
Deuteranopia (green-blind)
#B0BFEA
Tritanopia (blue-blind)
#9FCAD0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afc2eb;
/* rgb */ color: rgb(175, 194, 235);
/* oklch */ color: oklch(81.4% 0.062 265.5);
Tailwind
colors: {
  custom: {
    50: '#c8d4f1',
    500: '#afc2eb',
    950: '#000000',
  },
}
SCSS
$custom: #afc2eb;
$custom-light: #c8d4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#afc2eb",
  "rgb": {
    "r": 175,
    "g": 194,
    "b": 235
  },
  "hsl": {
    "h": 221,
    "s": 60,
    "l": 80.392
  },
  "oklch": {
    "l": 0.81353,
    "c": 0.06174,
    "h": 265.5
  },
  "luminance": 0.53696
}

Semantic roles & 50–950 ramp

primary
#AFC2EB
secondary
#C7AE77
accent
#921EC8
background
#FDFEFF
surface
#F9FBFE
border
#D2D4D6
text
#131416
muted
#828385

Preview Lab

Preview with #AFC2EB

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

Preview Lab → · Contrast checker → · Palette generator →

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