#AFC2EF#AFC2EF

#AFC2EF is a light, moderate blue. Relative luminance 0.539; OKLCH L 81.5% C 0.067 H 267.0°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#AFC2EF
RGBrgb(175, 194, 239)
HSLhsl(222, 67%, 81%)
HSVhsv(222, 27%, 94%)
CMYKcmyk(26.8%, 18.8%, 0%, 6.3%)
CIE-LABlab(78.42, 3.39, -24.41)
CIE-LCHlch(78.42, 24.64, 277.90°)
OKLaboklab(81.51% -0.0035 -0.067)
OKLCHoklch(81.51% 0.067 267)
XYZxyz(52.5467, 53.9279, 89.2852)
Luminance0.5393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC2EF #EFDCAF
analogous
#AFE2EF #AFC2EF #BCAFEF
triadic
#AFC2EF #EFAFC2 #C2EFAF
tetradic
#AFC2EF #EFAFE2 #EFDCAF #AFEFBC
square
#AFC2EF #EFAFE2 #EFDCAF #AFEFBC
split-complementary
#AFC2EF #EFBCAF #E2EFAF
monochromatic
#4974DB #7C9BE5 #AFC2EF #E2E9F9 #E5ECFA

Accessibility & contrast

On white

1.78
#AFC2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#AFC2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC2EF
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC2EF#FFFFFF#000000##000000
##AFC2EF1.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4C5F1
Deuteranopia (green-blind)
#AEBFEE
Tritanopia (blue-blind)
#9ECBD1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afc2ef;
/* rgb */ color: rgb(175, 194, 239);
/* oklch */ color: oklch(81.5% 0.067 267.0);
Tailwind
colors: {
  custom: {
    50: '#c8d4f4',
    500: '#afc2ef',
    950: '#000000',
  },
}
SCSS
$custom: #afc2ef;
$custom-light: #c8d4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#afc2ef",
  "rgb": {
    "r": 175,
    "g": 194,
    "b": 239
  },
  "hsl": {
    "h": 222.188,
    "s": 66.667,
    "l": 81.176
  },
  "oklch": {
    "l": 0.81505,
    "c": 0.06709,
    "h": 267
  },
  "luminance": 0.5393
}

Semantic roles & 50–950 ramp

primary
#AFC2EF
secondary
#CDB375
accent
#9817CF
background
#FDFEFF
surface
#F9FBFE
border
#D2D4D6
text
#131417
muted
#828385

Preview Lab

Preview with #AFC2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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