#8CA7FA#8CA7FA

#8CA7FA is a light, vivid blue. Relative luminance 0.401; OKLCH L 74.2% C 0.124 H 269.5°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#8CA7FA
RGBrgb(140, 167, 250)
HSLhsl(225, 92%, 76%)
HSVhsv(225, 44%, 98%)
CMYKcmyk(44%, 33.2%, 0%, 2%)
CIE-LABlab(69.55, 11.74, -44.25)
CIE-LCHlch(69.55, 45.78, 284.86°)
OKLaboklab(74.16% -0.0011 -0.1242)
OKLCHoklch(74.16% 0.124 269.5)
XYZxyz(41.8838, 40.1127, 95.9595)
Luminance0.4012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA7FA #FADF8C
analogous
#8CDEFA #8CA7FA #A88CFA
triadic
#8CA7FA #FA8CA7 #A7FA8C
tetradic
#8CA7FA #FA8CDE #FADF8C #8CFAA8
square
#8CA7FA #FA8CDE #FADF8C #8CFAA8
split-complementary
#8CA7FA #FAA88C #DEFA8C
monochromatic
#174DF5 #517AF7 #8CA7FA #C7D4FD #E2E9FE

Accessibility & contrast

On white

2.33
#8CA7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#8CA7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA7FA
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA7FA#FFFFFF#000000##000000
##8CA7FA1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AFFD
Deuteranopia (green-blind)
#7FA5F8
Tritanopia (blue-blind)
#64B8C5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #8ca7fa;
/* rgb */ color: rgb(140, 167, 250);
/* oklch */ color: oklch(74.2% 0.124 269.5);
Tailwind
colors: {
  custom: {
    50: '#b2c0fc',
    500: '#8ca7fa',
    950: '#000000',
  },
}
SCSS
$custom: #8ca7fa;
$custom-light: #b2c0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca7fa",
  "rgb": {
    "r": 140,
    "g": 167,
    "b": 250
  },
  "hsl": {
    "h": 225.273,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.7416,
    "c": 0.12425,
    "h": 269.5
  },
  "luminance": 0.40115
}

Semantic roles & 50–950 ramp

primary
#8CA7FA
secondary
#F6EED5
accent
#AD00E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8CA7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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