#AFB2FF#AFB2FF

#AFB2FF is a light, moderate blue. Relative luminance 0.482; OKLCH L 79.0% C 0.109 H 281.9°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#AFB2FF
RGBrgb(175, 178, 255)
HSLhsl(238, 100%, 84%)
HSVhsv(238, 31%, 100%)
CMYKcmyk(31.4%, 30.2%, 0%, 0%)
CIE-LABlab(74.93, 16.05, -38.38)
CIE-LCHlch(74.93, 41.60, 292.69°)
OKLaboklab(78.99% 0.0224 -0.1067)
OKLCHoklch(78.99% 0.109 281.9)
XYZxyz(51.6447, 48.1732, 101.1657)
Luminance0.4818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB2FF #FFFCAF
analogous
#AFDAFF #AFB2FF #D4AFFF
triadic
#AFB2FF #FFAFB2 #B2FFAF
tetradic
#AFB2FF #FFAFDA #FFFCAF #AFFFD4
square
#AFB2FF #FFAFDA #FFFCAF #AFFFD4
split-complementary
#AFB2FF #FFD4AF #DAFFAF
monochromatic
#353CFF #7277FF #AFB2FF #E0E2FF #E0E2FF

Accessibility & contrast

On white

1.97
#AFB2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#AFB2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB2FF
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB2FF#FFFFFF#000000##000000
##AFB2FF1.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BBBFF
Deuteranopia (green-blind)
#98B6FD
Tritanopia (blue-blind)
#9AC0CD
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afb2ff;
/* rgb */ color: rgb(175, 178, 255);
/* oklch */ color: oklch(79.0% 0.109 281.9);
Tailwind
colors: {
  custom: {
    50: '#c9c8ff',
    500: '#afb2ff',
    950: '#000000',
  },
}
SCSS
$custom: #afb2ff;
$custom-light: #c9c8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#afb2ff",
  "rgb": {
    "r": 175,
    "g": 178,
    "b": 255
  },
  "hsl": {
    "h": 237.75,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.78994,
    "c": 0.10901,
    "h": 281.9
  },
  "luminance": 0.48175
}

Semantic roles & 50–950 ramp

primary
#AFB2FF
secondary
#F7F6D4
accent
#DD00E6
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131318
muted
#828286

Preview Lab

Preview with #AFB2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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