#AFB5EA#AFB5EA

#AFB5EA is a light, moderate blue. Relative luminance 0.481; OKLCH L 78.7% C 0.076 H 279.5°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#AFB5EA
RGBrgb(175, 181, 234)
HSLhsl(234, 58%, 80%)
HSVhsv(234, 25%, 92%)
CMYKcmyk(25.2%, 22.6%, 0%, 8.2%)
CIE-LABlab(74.89, 9.29, -27.11)
CIE-LCHlch(74.89, 28.66, 288.93°)
OKLaboklab(78.69% 0.0124 -0.0746)
OKLCHoklch(78.69% 0.076 279.5)
XYZxyz(49.0505, 48.1011, 84.5261)
Luminance0.4810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB5EA #EAE4AF
analogous
#AFD3EA #AFB5EA #C6AFEA
triadic
#AFB5EA #EAAFB5 #B5EAAF
tetradic
#AFB5EA #EAAFD3 #EAE4AF #AFEAC6
square
#AFB5EA #EAAFD3 #EAE4AF #AFEAC6
split-complementary
#AFB5EA #EAC6AF #D3EAAF
monochromatic
#4E5BD1 #7F88DD #AFB5EA #DFE2F7 #E7E9F9

Accessibility & contrast

On white

1.98
#AFB5EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#AFB5EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB5EA
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB5EA#FFFFFF#000000##000000
##AFB5EA1.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6BBEC
Deuteranopia (green-blind)
#A3B6E9
Tritanopia (blue-blind)
#A1BEC7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afb5ea;
/* rgb */ color: rgb(175, 181, 234);
/* oklch */ color: oklch(78.7% 0.076 279.5);
Tailwind
colors: {
  custom: {
    50: '#c8cbf1',
    500: '#afb5ea',
    950: '#000000',
  },
}
SCSS
$custom: #afb5ea;
$custom-light: #c8cbf1;
$custom-dark: #000000;
JSON
{
  "hex": "#afb5ea",
  "rgb": {
    "r": 175,
    "g": 181,
    "b": 234
  },
  "hsl": {
    "h": 233.898,
    "s": 58.416,
    "l": 80.196
  },
  "oklch": {
    "l": 0.78693,
    "c": 0.07559,
    "h": 279.5
  },
  "luminance": 0.48102
}

Semantic roles & 50–950 ramp

primary
#AFB5EA
secondary
#F0EEDB
accent
#B51FC6
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#131316
muted
#828284

Preview Lab

Preview with #AFB5EA

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

Preview Lab → · Contrast checker → · Palette generator →

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