#AFB2FD#AFB2FD

#AFB2FD is a light, moderate blue. Relative luminance 0.480; OKLCH L 78.9% C 0.106 H 281.9°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#AFB2FD
RGBrgb(175, 178, 253)
HSLhsl(238, 95%, 84%)
HSVhsv(238, 31%, 99%)
CMYKcmyk(30.8%, 29.6%, 0%, 0.8%)
CIE-LABlab(74.85, 15.55, -37.42)
CIE-LCHlch(74.85, 40.53, 292.56°)
OKLaboklab(78.91% 0.0219 -0.1039)
OKLCHoklch(78.91% 0.106 281.9)
XYZxyz(51.3244, 48.0451, 99.4789)
Luminance0.4805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB2FD #FDFAAF
analogous
#AFD9FD #AFB2FD #D3AFFD
triadic
#AFB2FD #FDAFB2 #B2FDAF
tetradic
#AFB2FD #FDAFD9 #FDFAAF #AFFDD3
square
#AFB2FD #FDAFD9 #FDFAAF #AFFDD3
split-complementary
#AFB2FD #FDD3AF #D9FDAF
monochromatic
#383FFA #7379FC #AFB2FD #E1E2FE #E1E2FE

Accessibility & contrast

On white

1.98
#AFB2FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#AFB2FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB2FD
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB2FD#FFFFFF#000000##000000
##AFB2FD1.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CBBFF
Deuteranopia (green-blind)
#99B6FB
Tritanopia (blue-blind)
#9BC0CD
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afb2fd;
/* rgb */ color: rgb(175, 178, 253);
/* oklch */ color: oklch(78.9% 0.106 281.9);
Tailwind
colors: {
  custom: {
    50: '#c8c8fe',
    500: '#afb2fd',
    950: '#000000',
  },
}
SCSS
$custom: #afb2fd;
$custom-light: #c8c8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#afb2fd",
  "rgb": {
    "r": 175,
    "g": 178,
    "b": 253
  },
  "hsl": {
    "h": 237.692,
    "s": 95.122,
    "l": 83.922
  },
  "oklch": {
    "l": 0.78905,
    "c": 0.10623,
    "h": 281.9
  },
  "luminance": 0.48047
}

Semantic roles & 50–950 ramp

primary
#AFB2FD
secondary
#F6F5D5
accent
#DD00E6
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131318
muted
#828286

Preview Lab

Preview with #AFB2FD

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

Preview Lab → · Contrast checker → · Palette generator →

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