#AFC2FE#AFC2FE

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

Color values

HEX#AFC2FE
RGBrgb(175, 194, 254)
HSLhsl(226, 98%, 84%)
HSVhsv(226, 31%, 100%)
CMYKcmyk(31.1%, 23.6%, 0%, 0.4%)
CIE-LABlab(78.96, 7.00, -31.62)
CIE-LCHlch(78.96, 32.39, 282.48°)
OKLaboklab(82.1% 0.0012 -0.0874)
OKLCHoklch(82.1% 0.087 270.8)
XYZxyz(54.8553, 54.8514, 101.4438)
Luminance0.5485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC2FE #FEEBAF
analogous
#AFEAFE #AFC2FE #C4AFFE
triadic
#AFC2FE #FEAFC2 #C2FEAF
tetradic
#AFC2FE #FEAFEA #FEEBAF #AFFEC4
square
#AFC2FE #FEAFEA #FEEBAF #AFFEC4
split-complementary
#AFC2FE #FEC4AF #EAFEAF
monochromatic
#3666FC #7394FD #AFC2FE #E1E8FF #E1E8FF

Accessibility & contrast

On white

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

On black

11.97
#AFC2FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC2FE
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC2FE#FFFFFF#000000##000000
##AFC2FE1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afc2fe;
/* rgb */ color: rgb(175, 194, 254);
/* oklch */ color: oklch(82.1% 0.087 270.8);
Tailwind
colors: {
  custom: {
    50: '#c8d4ff',
    500: '#afc2fe',
    950: '#000000',
  },
}
SCSS
$custom: #afc2fe;
$custom-light: #c8d4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#afc2fe",
  "rgb": {
    "r": 175,
    "g": 194,
    "b": 254
  },
  "hsl": {
    "h": 225.57,
    "s": 97.531,
    "l": 84.118
  },
  "oklch": {
    "l": 0.82101,
    "c": 0.08741,
    "h": 270.8
  },
  "luminance": 0.54853
}

Semantic roles & 50–950 ramp

primary
#AFC2FE
secondary
#E4C76E
accent
#AE00E6
background
#FDFEFF
surface
#F9FBFF
border
#D2D4D7
text
#131418
muted
#828386

Preview Lab

Preview with #AFC2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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