#AFB2F7#AFB2F7

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

Color values

HEX#AFB2F7
RGBrgb(175, 178, 247)
HSLhsl(238, 82%, 83%)
HSVhsv(238, 29%, 97%)
CMYKcmyk(29.1%, 27.9%, 0%, 3.1%)
CIE-LABlab(74.62, 14.07, -34.56)
CIE-LCHlch(74.62, 37.31, 292.16°)
OKLaboklab(78.64% 0.0203 -0.0957)
OKLCHoklch(78.64% 0.098 282)
XYZxyz(50.3836, 47.6688, 94.5241)
Luminance0.4767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB2F7 #F7F4AF
analogous
#AFD6F7 #AFB2F7 #D0AFF7
triadic
#AFB2F7 #F7AFB2 #B2F7AF
tetradic
#AFB2F7 #F7AFD6 #F7F4AF #AFF7D0
square
#AFB2F7 #F7AFD6 #F7F4AF #AFF7D0
split-complementary
#AFB2F7 #F7D0AF #D6F7AF
monochromatic
#4047EC #777CF1 #AFB2F7 #E3E4FC #E3E4FC

Accessibility & contrast

On white

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

On black

10.53
#AFB2F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB2F7
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB2F7#FFFFFF#000000##000000
##AFB2F71.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EBAFA
Deuteranopia (green-blind)
#9BB5F5
Tritanopia (blue-blind)
#9DBFCA
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afb2f7;
/* rgb */ color: rgb(175, 178, 247);
/* oklch */ color: oklch(78.6% 0.098 282.0);
Tailwind
colors: {
  custom: {
    50: '#c8c9fa',
    500: '#afb2f7',
    950: '#000000',
  },
}
SCSS
$custom: #afb2f7;
$custom-light: #c8c9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#afb2f7",
  "rgb": {
    "r": 175,
    "g": 178,
    "b": 247
  },
  "hsl": {
    "h": 237.5,
    "s": 81.818,
    "l": 82.745
  },
  "oklch": {
    "l": 0.78643,
    "c": 0.09786,
    "h": 282
  },
  "luminance": 0.4767
}

Semantic roles & 50–950 ramp

primary
#AFB2F7
secondary
#F4F3D7
accent
#D507DE
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131317
muted
#828285

Preview Lab

Preview with #AFB2F7

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

Preview Lab → · Contrast checker → · Palette generator →

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