#AFB2EF#AFB2EF

#AFB2EF is a light, moderate blue. Relative luminance 0.472; OKLCH L 78.3% C 0.087 H 282.0°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#AFB2EF
RGBrgb(175, 178, 239)
HSLhsl(237, 67%, 81%)
HSVhsv(237, 27%, 94%)
CMYKcmyk(26.8%, 25.5%, 0%, 6.3%)
CIE-LABlab(74.31, 12.14, -30.71)
CIE-LCHlch(74.31, 33.02, 291.57°)
OKLaboklab(78.3% 0.018 -0.0848)
OKLCHoklch(78.3% 0.087 282)
XYZxyz(49.1755, 47.1856, 88.1615)
Luminance0.4719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB2EF #EFECAF
analogous
#AFD2EF #AFB2EF #CCAFEF
triadic
#AFB2EF #EFAFB2 #B2EFAF
tetradic
#AFB2EF #EFAFD2 #EFECAF #AFEFCC
square
#AFB2EF #EFAFD2 #EFECAF #AFEFCC
split-complementary
#AFB2EF #EFCCAF #D2EFAF
monochromatic
#4950DB #7C81E5 #AFB2EF #E2E3F9 #E5E6FA

Accessibility & contrast

On white

2.01
#AFB2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.44
#AFB2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB2EF
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB2EF#FFFFFF#000000##000000
##AFB2EF1.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1B9F2
Deuteranopia (green-blind)
#9EB5ED
Tritanopia (blue-blind)
#A0BDC7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afb2ef;
/* rgb */ color: rgb(175, 178, 239);
/* oklch */ color: oklch(78.3% 0.087 282.0);
Tailwind
colors: {
  custom: {
    50: '#c8c9f4',
    500: '#afb2ef',
    950: '#000000',
  },
}
SCSS
$custom: #afb2ef;
$custom-light: #c8c9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#afb2ef",
  "rgb": {
    "r": 175,
    "g": 178,
    "b": 239
  },
  "hsl": {
    "h": 237.188,
    "s": 66.667,
    "l": 81.176
  },
  "oklch": {
    "l": 0.78303,
    "c": 0.08665,
    "h": 282
  },
  "luminance": 0.47187
}

Semantic roles & 50–950 ramp

primary
#AFB2EF
secondary
#F1F0DA
accent
#C617CF
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#131317
muted
#828285

Preview Lab

Preview with #AFB2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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