#AFC2FF#AFC2FF

#AFC2FF is a very light, moderate blue. Relative luminance 0.549; OKLCH L 82.1% C 0.089 H 271.0°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#AFC2FF
RGBrgb(175, 194, 255)
HSLhsl(226, 100%, 84%)
HSVhsv(226, 31%, 100%)
CMYKcmyk(31.4%, 23.9%, 0%, 0%)
CIE-LABlab(78.99, 7.25, -32.10)
CIE-LCHlch(78.99, 32.91, 282.72°)
OKLaboklab(82.14% 0.0015 -0.0888)
OKLCHoklch(82.14% 0.089 271)
XYZxyz(55.0159, 54.9156, 102.2894)
Luminance0.5492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC2FF #FFECAF
analogous
#AFEAFF #AFC2FF #C4AFFF
triadic
#AFC2FF #FFAFC2 #C2FFAF
tetradic
#AFC2FF #FFAFEA #FFECAF #AFFFC4
square
#AFC2FF #FFAFEA #FFECAF #AFFFC4
split-complementary
#AFC2FF #FFC4AF #EAFFAF
monochromatic
#3565FF #7293FF #AFC2FF #E0E8FF #E0E8FF

Accessibility & contrast

On white

1.75
#AFC2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.98
#AFC2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC2FF
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC2FF#FFFFFF#000000##000000
##AFC2FF1.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFC7FF
Deuteranopia (green-blind)
#A8C1FE
Tritanopia (blue-blind)
#99CED7
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afc2ff;
/* rgb */ color: rgb(175, 194, 255);
/* oklch */ color: oklch(82.1% 0.089 271.0);
Tailwind
colors: {
  custom: {
    50: '#c8d4ff',
    500: '#afc2ff',
    950: '#000000',
  },
}
SCSS
$custom: #afc2ff;
$custom-light: #c8d4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#afc2ff",
  "rgb": {
    "r": 175,
    "g": 194,
    "b": 255
  },
  "hsl": {
    "h": 225.75,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.82142,
    "c": 0.08877,
    "h": 271
  },
  "luminance": 0.54918
}

Semantic roles & 50–950 ramp

primary
#AFC2FF
secondary
#E5C96D
accent
#AF00E6
background
#FDFEFF
surface
#F9FBFF
border
#D2D4D7
text
#131418
muted
#828386

Preview Lab

Preview with #AFC2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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