#AFB2FA#AFB2FA

#AFB2FA is a light, moderate blue. Relative luminance 0.479; OKLCH L 78.8% C 0.102 H 281.9°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#AFB2FA
RGBrgb(175, 178, 250)
HSLhsl(238, 88%, 83%)
HSVhsv(238, 30%, 98%)
CMYKcmyk(30%, 28.8%, 0%, 2%)
CIE-LABlab(74.73, 14.81, -35.99)
CIE-LCHlch(74.73, 38.92, 292.36°)
OKLaboklab(78.77% 0.0211 -0.0998)
OKLCHoklch(78.77% 0.102 281.9)
XYZxyz(50.8503, 47.8555, 96.9818)
Luminance0.4786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB2FA #FAF7AF
analogous
#AFD7FA #AFB2FA #D1AFFA
triadic
#AFB2FA #FAAFB2 #B2FAAF
tetradic
#AFB2FA #FAAFD7 #FAF7AF #AFFAD1
square
#AFB2FA #FAAFD7 #FAF7AF #AFFAD1
split-complementary
#AFB2FA #FAD1AF #D7FAAF
monochromatic
#3C43F3 #757BF6 #AFB2FA #E2E3FD #E2E3FD

Accessibility & contrast

On white

1.99
#AFB2FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#AFB2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB2FA
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB2FA#FFFFFF#000000##000000
##AFB2FA1.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DBBFD
Deuteranopia (green-blind)
#9AB5F8
Tritanopia (blue-blind)
#9CBFCB
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afb2fa;
/* rgb */ color: rgb(175, 178, 250);
/* oklch */ color: oklch(78.8% 0.102 281.9);
Tailwind
colors: {
  custom: {
    50: '#c8c8fc',
    500: '#afb2fa',
    950: '#000000',
  },
}
SCSS
$custom: #afb2fa;
$custom-light: #c8c8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#afb2fa",
  "rgb": {
    "r": 175,
    "g": 178,
    "b": 250
  },
  "hsl": {
    "h": 237.6,
    "s": 88.235,
    "l": 83.333
  },
  "oklch": {
    "l": 0.78773,
    "c": 0.10205,
    "h": 281.9
  },
  "luminance": 0.47857
}

Semantic roles & 50–950 ramp

primary
#AFB2FA
secondary
#F5F4D6
accent
#DC01E5
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131317
muted
#828285

Preview Lab

Preview with #AFB2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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