#AFB2EA#AFB2EA

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

Color values

HEX#AFB2EA
RGBrgb(175, 178, 234)
HSLhsl(237, 58%, 80%)
HSVhsv(237, 25%, 92%)
CMYKcmyk(25.2%, 23.9%, 0%, 8.2%)
CIE-LABlab(74.12, 10.95, -28.28)
CIE-LCHlch(74.12, 30.33, 291.16°)
OKLaboklab(78.1% 0.0165 -0.0779)
OKLCHoklch(78.1% 0.08 282)
XYZxyz(48.4471, 46.8942, 84.3249)
Luminance0.4689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB2EA #EAE7AF
analogous
#AFCFEA #AFB2EA #C9AFEA
triadic
#AFB2EA #EAAFB2 #B2EAAF
tetradic
#AFB2EA #EAAFCF #EAE7AF #AFEAC9
square
#AFB2EA #EAAFCF #EAE7AF #AFEAC9
split-complementary
#AFB2EA #EAC9AF #CFEAAF
monochromatic
#4E55D1 #7F83DD #AFB2EA #DFE1F7 #E7E8F9

Accessibility & contrast

On white

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

On black

10.38
#AFB2EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB2EA
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB2EA#FFFFFF#000000##000000
##AFB2EA1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3B8EC
Deuteranopia (green-blind)
#A0B4E9
Tritanopia (blue-blind)
#A1BCC5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afb2ea;
/* rgb */ color: rgb(175, 178, 234);
/* oklch */ color: oklch(78.1% 0.080 282.0);
Tailwind
colors: {
  custom: {
    50: '#c8c9f1',
    500: '#afb2ea',
    950: '#000000',
  },
}
SCSS
$custom: #afb2ea;
$custom-light: #c8c9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#afb2ea",
  "rgb": {
    "r": 175,
    "g": 178,
    "b": 234
  },
  "hsl": {
    "h": 236.949,
    "s": 58.416,
    "l": 80.196
  },
  "oklch": {
    "l": 0.78097,
    "c": 0.07961,
    "h": 282
  },
  "luminance": 0.46895
}

Semantic roles & 50–950 ramp

primary
#AFB2EA
secondary
#F0EFDB
accent
#BE1FC6
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#131316
muted
#828284

Preview Lab

Preview with #AFB2EA

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

Preview Lab → · Contrast checker → · Palette generator →

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