#AFB2DF#AFB2DF

#AFB2DF is a light, moderate blue. Relative luminance 0.463; OKLCH L 77.7% C 0.064 H 281.8°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#AFB2DF
RGBrgb(175, 178, 223)
HSLhsl(236, 43%, 78%)
HSVhsv(236, 22%, 87%)
CMYKcmyk(21.5%, 20.2%, 0%, 12.5%)
CIE-LABlab(73.73, 8.39, -22.91)
CIE-LCHlch(73.73, 24.40, 290.12°)
OKLaboklab(77.66% 0.0131 -0.0627)
OKLCHoklch(77.66% 0.064 281.8)
XYZxyz(46.9156, 46.2816, 76.2592)
Luminance0.4628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB2DF #DFDCAF
analogous
#AFCADF #AFB2DF #C4AFDF
triadic
#AFB2DF #DFAFB2 #B2DFAF
tetradic
#AFB2DF #DFAFCA #DFDCAF #AFDFC4
square
#AFB2DF #DFAFCA #DFDCAF #AFDFC4
split-complementary
#AFB2DF #DFC4AF #CADFAF
monochromatic
#585EBC #8388CE #AFB2DF #DBDCF0 #E9EAF6

Accessibility & contrast

On white

2.05
#AFB2DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#AFB2DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB2DF
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB2DF#FFFFFF#000000##000000
##AFB2DF1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6B7E1
Deuteranopia (green-blind)
#A4B4DE
Tritanopia (blue-blind)
#A4BAC1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afb2df;
/* rgb */ color: rgb(175, 178, 223);
/* oklch */ color: oklch(77.7% 0.064 281.8);
Tailwind
colors: {
  custom: {
    50: '#c7c9e9',
    500: '#afb2df',
    950: '#000000',
  },
}
SCSS
$custom: #afb2df;
$custom-light: #c7c9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#afb2df",
  "rgb": {
    "r": 175,
    "g": 178,
    "b": 223
  },
  "hsl": {
    "h": 236.25,
    "s": 42.857,
    "l": 78.039
  },
  "oklch": {
    "l": 0.7766,
    "c": 0.06406,
    "h": 281.8
  },
  "luminance": 0.46282
}

Semantic roles & 50–950 ramp

primary
#AFB2DF
secondary
#EDECDE
accent
#AE30B6
background
#FCFCFE
surface
#F8F8FC
border
#D1D1D5
text
#131316
muted
#828284

Preview Lab

Preview with #AFB2DF

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

Preview Lab → · Contrast checker → · Palette generator →

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