#AFB2EB#AFB2EB

#AFB2EB is a light, moderate blue. Relative luminance 0.470; OKLCH L 78.1% C 0.081 H 282.0°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#AFB2EB
RGBrgb(175, 178, 235)
HSLhsl(237, 60%, 80%)
HSVhsv(237, 26%, 92%)
CMYKcmyk(25.5%, 24.3%, 0%, 7.8%)
CIE-LABlab(74.16, 11.18, -28.77)
CIE-LCHlch(74.16, 30.87, 291.24°)
OKLaboklab(78.14% 0.0168 -0.0792)
OKLCHoklch(78.14% 0.081 282)
XYZxyz(48.5911, 46.9518, 85.0837)
Luminance0.4695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB2EB #EBE8AF
analogous
#AFD0EB #AFB2EB #CAAFEB
triadic
#AFB2EB #EBAFB2 #B2EBAF
tetradic
#AFB2EB #EBAFD0 #EBE8AF #AFEBCA
square
#AFB2EB #EBAFD0 #EBE8AF #AFEBCA
split-complementary
#AFB2EB #EBCAAF #D0EBAF
monochromatic
#4D54D3 #7E83DF #AFB2EB #E0E1F7 #E7E7F9

Accessibility & contrast

On white

2.02
#AFB2EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#AFB2EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB2EB
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB2EB#FFFFFF#000000##000000
##AFB2EB1.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2B8ED
Deuteranopia (green-blind)
#A0B4EA
Tritanopia (blue-blind)
#A1BCC6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afb2eb;
/* rgb */ color: rgb(175, 178, 235);
/* oklch */ color: oklch(78.1% 0.081 282.0);
Tailwind
colors: {
  custom: {
    50: '#c8c9f1',
    500: '#afb2eb',
    950: '#000000',
  },
}
SCSS
$custom: #afb2eb;
$custom-light: #c8c9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#afb2eb",
  "rgb": {
    "r": 175,
    "g": 178,
    "b": 235
  },
  "hsl": {
    "h": 237,
    "s": 60,
    "l": 80.392
  },
  "oklch": {
    "l": 0.78138,
    "c": 0.08102,
    "h": 282
  },
  "luminance": 0.46953
}

Semantic roles & 50–950 ramp

primary
#AFB2EB
secondary
#F0EFDB
accent
#BF1EC8
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#131316
muted
#828284

Preview Lab

Preview with #AFB2EB

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

Preview Lab → · Contrast checker → · Palette generator →

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