#AFAFDC#AFAFDC

#AFAFDC is a light, moderate blue. Relative luminance 0.449; OKLCH L 76.9% C 0.064 H 284.8°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#AFAFDC
RGBrgb(175, 175, 220)
HSLhsl(240, 39%, 77%)
HSVhsv(240, 20%, 86%)
CMYKcmyk(20.5%, 20.5%, 0%, 13.7%)
CIE-LABlab(72.85, 9.36, -22.61)
CIE-LCHlch(72.85, 24.47, 292.50°)
OKLaboklab(76.94% 0.0163 -0.0618)
OKLCHoklch(76.94% 0.064 284.8)
XYZxyz(45.9244, 44.9405, 73.9511)
Luminance0.4494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAFDC #DCDCAF
analogous
#AFC6DC #AFAFDC #C6AFDC
triadic
#AFAFDC #DCAFAF #AFDCAF
tetradic
#AFAFDC #DCAFC6 #DCDCAF #AFDCC6
square
#AFAFDC #DCAFC6 #DCDCAF #AFDCC6
split-complementary
#AFAFDC #DCC6AF #C6DCAF
monochromatic
#5A5AB7 #8484C9 #AFAFDC #DADAEF #EAEAF6

Accessibility & contrast

On white

2.10
#AFAFDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#AFAFDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAFDC
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAFDC#FFFFFF#000000##000000
##AFAFDC1.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4B4DE
Deuteranopia (green-blind)
#A2B1DB
Tritanopia (blue-blind)
#A5B7BE
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afafdc;
/* rgb */ color: rgb(175, 175, 220);
/* oklch */ color: oklch(76.9% 0.064 284.8);
Tailwind
colors: {
  custom: {
    50: '#c7c6e7',
    500: '#afafdc',
    950: '#000000',
  },
}
SCSS
$custom: #afafdc;
$custom-light: #c7c6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#afafdc",
  "rgb": {
    "r": 175,
    "g": 175,
    "b": 220
  },
  "hsl": {
    "h": 240,
    "s": 39.13,
    "l": 77.451
  },
  "oklch": {
    "l": 0.76945,
    "c": 0.06397,
    "h": 284.8
  },
  "luminance": 0.44941
}

Semantic roles & 50–950 ramp

primary
#AFAFDC
secondary
#ECECDF
accent
#B233B2
background
#FCFCFE
surface
#F8F8FC
border
#D1D1D5
text
#131316
muted
#828284

Preview Lab

Preview with #AFAFDC

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

Preview Lab → · Contrast checker → · Palette generator →

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