#AFB2F9#AFB2F9

#AFB2F9 is a light, moderate blue. Relative luminance 0.478; OKLCH L 78.7% C 0.101 H 281.9°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#AFB2F9
RGBrgb(175, 178, 249)
HSLhsl(238, 86%, 83%)
HSVhsv(238, 30%, 98%)
CMYKcmyk(29.7%, 28.5%, 0%, 2.4%)
CIE-LABlab(74.69, 14.56, -35.51)
CIE-LCHlch(74.69, 38.38, 292.30°)
OKLaboklab(78.73% 0.0208 -0.0985)
OKLCHoklch(78.73% 0.101 281.9)
XYZxyz(50.6939, 47.7929, 96.1582)
Luminance0.4779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB2F9 #F9F6AF
analogous
#AFD7F9 #AFB2F9 #D1AFF9
triadic
#AFB2F9 #F9AFB2 #B2F9AF
tetradic
#AFB2F9 #F9AFD7 #F9F6AF #AFF9D1
square
#AFB2F9 #F9AFD7 #F9F6AF #AFF9D1
split-complementary
#AFB2F9 #F9D1AF #D7F9AF
monochromatic
#3D44F0 #767BF5 #AFB2F9 #E3E4FD #E3E4FD

Accessibility & contrast

On white

1.99
#AFB2F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#AFB2F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB2F9
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB2F9#FFFFFF#000000##000000
##AFB2F91.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EBAFC
Deuteranopia (green-blind)
#9AB5F7
Tritanopia (blue-blind)
#9CBFCB
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afb2f9;
/* rgb */ color: rgb(175, 178, 249);
/* oklch */ color: oklch(78.7% 0.101 281.9);
Tailwind
colors: {
  custom: {
    50: '#c8c8fb',
    500: '#afb2f9',
    950: '#000000',
  },
}
SCSS
$custom: #afb2f9;
$custom-light: #c8c8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#afb2f9",
  "rgb": {
    "r": 175,
    "g": 178,
    "b": 249
  },
  "hsl": {
    "h": 237.568,
    "s": 86.047,
    "l": 83.137
  },
  "oklch": {
    "l": 0.78729,
    "c": 0.10065,
    "h": 281.9
  },
  "luminance": 0.47794
}

Semantic roles & 50–950 ramp

primary
#AFB2F9
secondary
#F5F4D6
accent
#DA03E3
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131317
muted
#828285

Preview Lab

Preview with #AFB2F9

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

Preview Lab → · Contrast checker → · Palette generator →

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