#AFC2FB#AFC2FB

#AFC2FB is a light, moderate blue. Relative luminance 0.547; OKLCH L 82.0% C 0.083 H 270.2°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#AFC2FB
RGBrgb(175, 194, 251)
HSLhsl(225, 90%, 84%)
HSVhsv(225, 30%, 98%)
CMYKcmyk(30.3%, 22.7%, 0%, 1.6%)
CIE-LABlab(78.85, 6.27, -30.19)
CIE-LCHlch(78.85, 30.83, 281.73°)
OKLaboklab(81.98% 0.0003 -0.0833)
OKLCHoklch(81.98% 0.083 270.2)
XYZxyz(54.3787, 54.6607, 98.9335)
Luminance0.5466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC2FB #FBE8AF
analogous
#AFE8FB #AFC2FB #C2AFFB
triadic
#AFC2FB #FBAFC2 #C2FBAF
tetradic
#AFC2FB #FBAFE8 #FBE8AF #AFFBC2
square
#AFC2FB #FBAFE8 #FBE8AF #AFFBC2
split-complementary
#AFC2FB #FBC2AF #E8FBAF
monochromatic
#3A69F5 #7596F8 #AFC2FB #E2E9FE #E2E9FE

Accessibility & contrast

On white

1.76
#AFC2FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#AFC2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC2FB
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC2FB#FFFFFF#000000##000000
##AFC2FB1.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0C7FE
Deuteranopia (green-blind)
#AAC0FA
Tritanopia (blue-blind)
#9ACDD5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afc2fb;
/* rgb */ color: rgb(175, 194, 251);
/* oklch */ color: oklch(82.0% 0.083 270.2);
Tailwind
colors: {
  custom: {
    50: '#c8d4fc',
    500: '#afc2fb',
    950: '#000000',
  },
}
SCSS
$custom: #afc2fb;
$custom-light: #c8d4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#afc2fb",
  "rgb": {
    "r": 175,
    "g": 194,
    "b": 251
  },
  "hsl": {
    "h": 225,
    "s": 90.476,
    "l": 83.529
  },
  "oklch": {
    "l": 0.81978,
    "c": 0.08333,
    "h": 270.2
  },
  "luminance": 0.54663
}

Semantic roles & 50–950 ramp

primary
#AFC2FB
secondary
#DFC36F
accent
#AC00E6
background
#FDFEFF
surface
#F9FBFF
border
#D2D4D7
text
#131417
muted
#828385

Preview Lab

Preview with #AFC2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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