#AFC8FE#AFC8FE

#AFC8FE is a very light, moderate blue. Relative luminance 0.576; OKLCH L 83.3% C 0.081 H 265.3°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#AFC8FE
RGBrgb(175, 200, 254)
HSLhsl(221, 98%, 84%)
HSVhsv(221, 31%, 100%)
CMYKcmyk(31.1%, 21.3%, 0%, 0.4%)
CIE-LABlab(80.50, 3.75, -29.24)
CIE-LCHlch(80.50, 29.48, 277.31°)
OKLaboklab(83.31% -0.0066 -0.0807)
OKLCHoklch(83.31% 0.081 265.3)
XYZxyz(56.2177, 57.5762, 101.8980)
Luminance0.5758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC8FE #FEE5AF
analogous
#AFEFFE #AFC8FE #BEAFFE
triadic
#AFC8FE #FEAFC8 #C8FEAF
tetradic
#AFC8FE #FEAFEF #FEE5AF #AFFEBE
square
#AFC8FE #FEAFEF #FEE5AF #AFFEBE
split-complementary
#AFC8FE #FEBEAF #EFFEAF
monochromatic
#3675FC #739EFD #AFC8FE #E1EAFF #E1EAFF

Accessibility & contrast

On white

1.68
#AFC8FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#AFC8FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC8FE
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC8FE#FFFFFF#000000##000000
##AFC8FE1.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6CCFF
Deuteranopia (green-blind)
#AFC5FD
Tritanopia (blue-blind)
#99D3DA
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afc8fe;
/* rgb */ color: rgb(175, 200, 254);
/* oklch */ color: oklch(83.3% 0.081 265.3);
Tailwind
colors: {
  custom: {
    50: '#c8d8ff',
    500: '#afc8fe',
    950: '#000000',
  },
}
SCSS
$custom: #afc8fe;
$custom-light: #c8d8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#afc8fe",
  "rgb": {
    "r": 175,
    "g": 200,
    "b": 254
  },
  "hsl": {
    "h": 221.013,
    "s": 97.531,
    "l": 84.118
  },
  "oklch": {
    "l": 0.83308,
    "c": 0.08095,
    "h": 265.3
  },
  "luminance": 0.57578
}

Semantic roles & 50–950 ramp

primary
#AFC8FE
secondary
#E4BE6E
accent
#9D00E6
background
#FDFEFF
surface
#F9FBFF
border
#D2D4D7
text
#131418
muted
#828386

Preview Lab

Preview with #AFC8FE

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

Preview Lab → · Contrast checker → · Palette generator →

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