#AFBAF9#AFBAF9

#AFBAF9 is a light, moderate blue. Relative luminance 0.511; OKLCH L 80.3% C 0.090 H 276.5°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#AFBAF9
RGBrgb(175, 186, 249)
HSLhsl(231, 86%, 83%)
HSVhsv(231, 30%, 98%)
CMYKcmyk(29.7%, 25.3%, 0%, 2.4%)
CIE-LABlab(76.72, 10.15, -32.38)
CIE-LCHlch(76.72, 33.94, 287.40°)
OKLaboklab(80.3% 0.0102 -0.0895)
OKLCHoklch(80.3% 0.09 276.5)
XYZxyz(52.3323, 51.0697, 96.7043)
Luminance0.5107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBAF9 #F9EEAF
analogous
#AFDFF9 #AFBAF9 #C9AFF9
triadic
#AFBAF9 #F9AFBA #BAF9AF
tetradic
#AFBAF9 #F9AFDF #F9EEAF #AFF9C9
square
#AFBAF9 #F9AFDF #F9EEAF #AFF9C9
split-complementary
#AFBAF9 #F9C9AF #DFF9AF
monochromatic
#3D58F0 #7689F5 #AFBAF9 #E3E6FD #E3E6FD

Accessibility & contrast

On white

1.87
#AFBAF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#AFBAF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBAF9
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBAF9#FFFFFF#000000##000000
##AFBAF91.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7C0FC
Deuteranopia (green-blind)
#A3BBF7
Tritanopia (blue-blind)
#9CC6D0
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afbaf9;
/* rgb */ color: rgb(175, 186, 249);
/* oklch */ color: oklch(80.3% 0.090 276.5);
Tailwind
colors: {
  custom: {
    50: '#c8cefb',
    500: '#afbaf9',
    950: '#000000',
  },
}
SCSS
$custom: #afbaf9;
$custom-light: #c8cefb;
$custom-dark: #000000;
JSON
{
  "hex": "#afbaf9",
  "rgb": {
    "r": 175,
    "g": 186,
    "b": 249
  },
  "hsl": {
    "h": 231.081,
    "s": 86.047,
    "l": 83.137
  },
  "oklch": {
    "l": 0.803,
    "c": 0.09013,
    "h": 276.5
  },
  "luminance": 0.51071
}

Semantic roles & 50–950 ramp

primary
#AFBAF9
secondary
#DCCC71
accent
#C103E3
background
#FDFEFF
surface
#F9FAFF
border
#D2D3D7
text
#131317
muted
#828385

Preview Lab

Preview with #AFBAF9

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

Preview Lab → · Contrast checker → · Palette generator →

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