#AFC2ED#AFC2ED

#AFC2ED is a light, moderate blue. Relative luminance 0.538; OKLCH L 81.4% C 0.064 H 266.3°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#AFC2ED
RGBrgb(175, 194, 237)
HSLhsl(222, 63%, 81%)
HSVhsv(222, 26%, 93%)
CMYKcmyk(26.2%, 18.1%, 0%, 7.1%)
CIE-LABlab(78.35, 2.92, -23.44)
CIE-LCHlch(78.35, 23.62, 277.09°)
OKLaboklab(81.43% -0.0042 -0.0643)
OKLCHoklch(81.43% 0.064 266.3)
XYZxyz(52.2529, 53.8104, 87.7377)
Luminance0.5381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC2ED #EDDAAF
analogous
#AFE1ED #AFC2ED #BBAFED
triadic
#AFC2ED #EDAFC2 #C2EDAF
tetradic
#AFC2ED #EDAFE1 #EDDAAF #AFEDBB
square
#AFC2ED #EDAFE1 #EDDAAF #AFEDBB
split-complementary
#AFC2ED #EDBBAF #E1EDAF
monochromatic
#4B76D7 #7D9CE2 #AFC2ED #E1E8F8 #E6ECF9

Accessibility & contrast

On white

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

On black

11.76
#AFC2ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC2ED
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC2ED#FFFFFF#000000##000000
##AFC2ED1.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afc2ed;
/* rgb */ color: rgb(175, 194, 237);
/* oklch */ color: oklch(81.4% 0.064 266.3);
Tailwind
colors: {
  custom: {
    50: '#c8d4f3',
    500: '#afc2ed',
    950: '#000000',
  },
}
SCSS
$custom: #afc2ed;
$custom-light: #c8d4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#afc2ed",
  "rgb": {
    "r": 175,
    "g": 194,
    "b": 237
  },
  "hsl": {
    "h": 221.613,
    "s": 63.265,
    "l": 80.784
  },
  "oklch": {
    "l": 0.81429,
    "c": 0.06441,
    "h": 266.3
  },
  "luminance": 0.53812
}

Semantic roles & 50–950 ramp

primary
#AFC2ED
secondary
#CAB076
accent
#951ACB
background
#FDFEFF
surface
#F9FBFE
border
#D2D4D6
text
#131417
muted
#828385

Preview Lab

Preview with #AFC2ED

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

Preview Lab → · Contrast checker → · Palette generator →

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