#AFB2EE#AFB2EE

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

Color values

HEX#AFB2EE
RGBrgb(175, 178, 238)
HSLhsl(237, 65%, 81%)
HSVhsv(237, 26%, 93%)
CMYKcmyk(26.5%, 25.2%, 0%, 6.7%)
CIE-LABlab(74.27, 11.90, -30.22)
CIE-LCHlch(74.27, 32.48, 291.49°)
OKLaboklab(78.26% 0.0177 -0.0834)
OKLCHoklch(78.26% 0.085 282)
XYZxyz(49.0282, 47.1267, 87.3856)
Luminance0.4713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB2EE #EEEBAF
analogous
#AFD1EE #AFB2EE #CBAFEE
triadic
#AFB2EE #EEAFB2 #B2EEAF
tetradic
#AFB2EE #EEAFD1 #EEEBAF #AFEECB
square
#AFB2EE #EEAFD1 #EEEBAF #AFEECB
split-complementary
#AFB2EE #EECBAF #D1EEAF
monochromatic
#4A51D9 #7D81E3 #AFB2EE #E1E3F9 #E6E7FA

Accessibility & contrast

On white

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

On black

10.43
#AFB2EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB2EE
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB2EE#FFFFFF#000000##000000
##AFB2EE1.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afb2ee;
/* rgb */ color: rgb(175, 178, 238);
/* oklch */ color: oklch(78.3% 0.085 282.0);
Tailwind
colors: {
  custom: {
    50: '#c8c9f3',
    500: '#afb2ee',
    950: '#000000',
  },
}
SCSS
$custom: #afb2ee;
$custom-light: #c8c9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#afb2ee",
  "rgb": {
    "r": 175,
    "g": 178,
    "b": 238
  },
  "hsl": {
    "h": 237.143,
    "s": 64.948,
    "l": 80.98
  },
  "oklch": {
    "l": 0.78262,
    "c": 0.08524,
    "h": 282
  },
  "luminance": 0.47128
}

Semantic roles & 50–950 ramp

primary
#AFB2EE
secondary
#F1F0DA
accent
#C419CD
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#131317
muted
#828285

Preview Lab

Preview with #AFB2EE

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

Preview Lab → · Contrast checker → · Palette generator →

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