#8CA2F7#8CA2F7

#8CA2F7 is a light, vivid blue. Relative luminance 0.381; OKLCH L 73.0% C 0.126 H 271.9°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#8CA2F7
RGBrgb(140, 162, 247)
HSLhsl(228, 87%, 76%)
HSVhsv(228, 43%, 97%)
CMYKcmyk(43.3%, 34.4%, 0%, 3.1%)
CIE-LABlab(68.12, 13.74, -44.87)
CIE-LCHlch(68.12, 46.93, 287.02°)
OKLaboklab(73.01% 0.0043 -0.1261)
OKLCHoklch(73.01% 0.126 271.9)
XYZxyz(40.5189, 38.1294, 93.2023)
Luminance0.3813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA2F7 #F7E18C
analogous
#8CD7F7 #8CA2F7 #AB8CF7
triadic
#8CA2F7 #F78CA2 #A2F78C
tetradic
#8CA2F7 #F78CD7 #F7E18C #8CF7AB
square
#8CA2F7 #F78CD7 #F7E18C #8CF7AB
split-complementary
#8CA2F7 #F7AB8C #D7F78C
monochromatic
#1A45EF #5374F3 #8CA2F7 #C5D0FB #E2E8FD

Accessibility & contrast

On white

2.43
#8CA2F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#8CA2F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA2F7
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA2F7#FFFFFF#000000##000000
##8CA2F71.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ABFA
Deuteranopia (green-blind)
#7AA2F5
Tritanopia (blue-blind)
#67B3C1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8ca2f7;
/* rgb */ color: rgb(140, 162, 247);
/* oklch */ color: oklch(73.0% 0.126 271.9);
Tailwind
colors: {
  custom: {
    50: '#b2bdfa',
    500: '#8ca2f7',
    950: '#000000',
  },
}
SCSS
$custom: #8ca2f7;
$custom-light: #b2bdfa;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca2f7",
  "rgb": {
    "r": 140,
    "g": 162,
    "b": 247
  },
  "hsl": {
    "h": 227.664,
    "s": 86.992,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73007,
    "c": 0.12613,
    "h": 271.9
  },
  "luminance": 0.38132
}

Semantic roles & 50–950 ramp

primary
#8CA2F7
secondary
#F5EFD6
accent
#B502E4
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8CA2F7

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

Preview Lab → · Contrast checker → · Palette generator →

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