#AFBAEF#AFBAEF

#AFBAEF is a light, moderate blue. Relative luminance 0.505; OKLCH L 79.9% C 0.076 H 275.4°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#AFBAEF
RGBrgb(175, 186, 239)
HSLhsl(230, 67%, 81%)
HSVhsv(230, 27%, 94%)
CMYKcmyk(26.8%, 22.2%, 0%, 6.3%)
CIE-LABlab(76.35, 7.74, -27.57)
CIE-LCHlch(76.35, 28.63, 285.68°)
OKLaboklab(79.89% 0.0072 -0.0759)
OKLCHoklch(79.89% 0.076 275.4)
XYZxyz(50.8139, 50.4624, 88.7076)
Luminance0.5046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBAEF #EFE4AF
analogous
#AFDAEF #AFBAEF #C4AFEF
triadic
#AFBAEF #EFAFBA #BAEFAF
tetradic
#AFBAEF #EFAFDA #EFE4AF #AFEFC4
square
#AFBAEF #EFAFDA #EFE4AF #AFEFC4
split-complementary
#AFBAEF #EFC4AF #DAEFAF
monochromatic
#4962DB #7C8EE5 #AFBAEF #E2E6F9 #E5E9FA

Accessibility & contrast

On white

1.89
#AFBAEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#AFBAEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBAEF
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBAEF#FFFFFF#000000##000000
##AFBAEF1.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABBFF1
Deuteranopia (green-blind)
#A6BAEE
Tritanopia (blue-blind)
#9FC4CC
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afbaef;
/* rgb */ color: rgb(175, 186, 239);
/* oklch */ color: oklch(79.9% 0.076 275.4);
Tailwind
colors: {
  custom: {
    50: '#c8cef4',
    500: '#afbaef',
    950: '#000000',
  },
}
SCSS
$custom: #afbaef;
$custom-light: #c8cef4;
$custom-dark: #000000;
JSON
{
  "hex": "#afbaef",
  "rgb": {
    "r": 175,
    "g": 186,
    "b": 239
  },
  "hsl": {
    "h": 229.688,
    "s": 66.667,
    "l": 81.176
  },
  "oklch": {
    "l": 0.79891,
    "c": 0.07622,
    "h": 275.4
  },
  "luminance": 0.50464
}

Semantic roles & 50–950 ramp

primary
#AFBAEF
secondary
#CDBE75
accent
#AF17CF
background
#FDFEFF
surface
#F9FAFE
border
#D2D3D6
text
#131317
muted
#828385

Preview Lab

Preview with #AFBAEF

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

Preview Lab → · Contrast checker → · Palette generator →

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