#AFB2F8#AFB2F8

#AFB2F8 is a light, moderate blue. Relative luminance 0.477; OKLCH L 78.7% C 0.099 H 282.0°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#AFB2F8
RGBrgb(175, 178, 248)
HSLhsl(238, 84%, 83%)
HSVhsv(238, 29%, 97%)
CMYKcmyk(29.4%, 28.2%, 0%, 2.7%)
CIE-LABlab(74.65, 14.32, -35.04)
CIE-LCHlch(74.65, 37.85, 292.23°)
OKLaboklab(78.69% 0.0206 -0.0971)
OKLCHoklch(78.69% 0.099 282)
XYZxyz(50.5384, 47.7307, 95.3390)
Luminance0.4773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB2F8 #F8F5AF
analogous
#AFD6F8 #AFB2F8 #D0AFF8
triadic
#AFB2F8 #F8AFB2 #B2F8AF
tetradic
#AFB2F8 #F8AFD6 #F8F5AF #AFF8D0
square
#AFB2F8 #F8AFD6 #F8F5AF #AFF8D0
split-complementary
#AFB2F8 #F8D0AF #D6F8AF
monochromatic
#3E46EE #777CF3 #AFB2F8 #E3E4FD #E3E4FD

Accessibility & contrast

On white

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

On black

10.55
#AFB2F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB2F8
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB2F8#FFFFFF#000000##000000
##AFB2F81.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EBAFB
Deuteranopia (green-blind)
#9BB5F6
Tritanopia (blue-blind)
#9DBFCB
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afb2f8;
/* rgb */ color: rgb(175, 178, 248);
/* oklch */ color: oklch(78.7% 0.099 282.0);
Tailwind
colors: {
  custom: {
    50: '#c8c8fa',
    500: '#afb2f8',
    950: '#000000',
  },
}
SCSS
$custom: #afb2f8;
$custom-light: #c8c8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#afb2f8",
  "rgb": {
    "r": 175,
    "g": 178,
    "b": 248
  },
  "hsl": {
    "h": 237.534,
    "s": 83.908,
    "l": 82.941
  },
  "oklch": {
    "l": 0.78686,
    "c": 0.09925,
    "h": 282
  },
  "luminance": 0.47732
}

Semantic roles & 50–950 ramp

primary
#AFB2F8
secondary
#F4F3D7
accent
#D705E0
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131317
muted
#828285

Preview Lab

Preview with #AFB2F8

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

Preview Lab → · Contrast checker → · Palette generator →

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