#8FA2F2#8FA2F2

#8FA2F2 is a light, moderate blue. Relative luminance 0.381; OKLCH L 73.0% C 0.118 H 273.0°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#8FA2F2
RGBrgb(143, 162, 242)
HSLhsl(228, 79%, 75%)
HSVhsv(228, 41%, 95%)
CMYKcmyk(40.9%, 33.1%, 0%, 5.1%)
CIE-LABlab(68.09, 13.10, -42.17)
CIE-LCHlch(68.09, 44.16, 287.25°)
OKLaboklab(72.96% 0.0061 -0.1182)
OKLCHoklch(72.96% 0.118 273)
XYZxyz(40.2702, 38.0892, 89.2172)
Luminance0.3809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA2F2 #F2DF8F
analogous
#8FD3F2 #8FA2F2 #AD8FF2
triadic
#8FA2F2 #F28FA2 #A2F28F
tetradic
#8FA2F2 #F28FD3 #F2DF8F #8FF2AD
square
#8FA2F2 #F28FD3 #F2DF8F #8FF2AD
split-complementary
#8FA2F2 #F2AD8F #D3F28F
monochromatic
#2147E5 #5874EC #8FA2F2 #C6D0F8 #E4E8FC

Accessibility & contrast

On white

2.44
#8FA2F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#8FA2F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA2F2
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA2F2#FFFFFF#000000##000000
##8FA2F21.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AAF5
Deuteranopia (green-blind)
#7EA2F0
Tritanopia (blue-blind)
#6FB2BF
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8fa2f2;
/* rgb */ color: rgb(143, 162, 242);
/* oklch */ color: oklch(73.0% 0.118 273.0);
Tailwind
colors: {
  custom: {
    50: '#b3bdf6',
    500: '#8fa2f2',
    950: '#000000',
  },
}
SCSS
$custom: #8fa2f2;
$custom-light: #b3bdf6;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa2f2",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 242
  },
  "hsl": {
    "h": 228.485,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.7296,
    "c": 0.11835,
    "h": 273
  },
  "luminance": 0.38091
}

Semantic roles & 50–950 ramp

primary
#8FA2F2
secondary
#F4EED7
accent
#B30ADB
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#111217
muted
#808185

Preview Lab

Preview with #8FA2F2

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

Preview Lab → · Contrast checker → · Palette generator →

#8FA2F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva