#A6AFEE#A6AFEE

#A6AFEE is a light, moderate blue. Relative luminance 0.449; OKLCH L 77.0% C 0.091 H 277.8°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#A6AFEE
RGBrgb(166, 175, 238)
HSLhsl(233, 68%, 79%)
HSVhsv(233, 30%, 93%)
CMYKcmyk(30.3%, 26.5%, 0%, 6.7%)
CIE-LABlab(72.85, 10.96, -32.46)
CIE-LCHlch(72.85, 34.26, 288.65°)
OKLaboklab(77% 0.0122 -0.0899)
OKLCHoklch(77% 0.091 277.8)
XYZxyz(46.4843, 44.9386, 87.0972)
Luminance0.4494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AFEE #EEE5A6
analogous
#A6D3EE #A6AFEE #C1A6EE
triadic
#A6AFEE #EEA6AF #AFEEA6
tetradic
#A6AFEE #EEA6D3 #EEE5A6 #A6EEC1
square
#A6AFEE #EEA6D3 #EEE5A6 #A6EEC1
split-complementary
#A6AFEE #EEC1A6 #D3EEA6
monochromatic
#3F53DA #7381E4 #A6AFEE #D9DDF8 #E5E8FA

Accessibility & contrast

On white

2.10
#A6AFEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#A6AFEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AFEE
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AFEE#FFFFFF#000000##000000
##A6AFEE1.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB6F1
Deuteranopia (green-blind)
#98B0EC
Tritanopia (blue-blind)
#93BBC5
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #a6afee;
/* rgb */ color: rgb(166, 175, 238);
/* oklch */ color: oklch(77.0% 0.091 277.8);
Tailwind
colors: {
  custom: {
    50: '#c2c6f3',
    500: '#a6afee',
    950: '#000000',
  },
}
SCSS
$custom: #a6afee;
$custom-light: #c2c6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a6afee",
  "rgb": {
    "r": 166,
    "g": 175,
    "b": 238
  },
  "hsl": {
    "h": 232.5,
    "s": 67.925,
    "l": 79.216
  },
  "oklch": {
    "l": 0.76997,
    "c": 0.09072,
    "h": 277.8
  },
  "luminance": 0.4494
}

Semantic roles & 50–950 ramp

primary
#A6AFEE
secondary
#F2EFD9
accent
#B916D0
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#121317
muted
#818285

Preview Lab

Preview with #A6AFEE

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

Preview Lab → · Contrast checker → · Palette generator →

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