#8CA7EF#8CA7EF

#8CA7EF is a light, moderate blue. Relative luminance 0.394; OKLCH L 73.6% C 0.109 H 268.0°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#8CA7EF
RGBrgb(140, 167, 239)
HSLhsl(224, 76%, 74%)
HSVhsv(224, 41%, 94%)
CMYKcmyk(41.4%, 30.1%, 0%, 6.3%)
CIE-LABlab(69.07, 8.66, -39.01)
CIE-LCHlch(69.07, 39.96, 282.52°)
OKLaboklab(73.63% -0.0039 -0.1091)
OKLCHoklch(73.63% 0.109 268)
XYZxyz(40.2091, 39.4428, 87.1391)
Luminance0.3945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA7EF #EFD48C
analogous
#8CD9EF #8CA7EF #A38CEF
triadic
#8CA7EF #EF8CA7 #A7EF8C
tetradic
#8CA7EF #EF8CD9 #EFD48C #8CEFA3
square
#8CA7EF #EF8CD9 #EFD48C #8CEFA3
split-complementary
#8CA7EF #EFA38C #D9EF8C
monochromatic
#2155E0 #567EE8 #8CA7EF #C2D0F6 #E4EAFB

Accessibility & contrast

On white

2.36
#8CA7EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#8CA7EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA7EF
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA7EF#FFFFFF#000000##000000
##8CA7EF1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EADF2
Deuteranopia (green-blind)
#84A5ED
Tritanopia (blue-blind)
#6AB6C1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8ca7ef;
/* rgb */ color: rgb(140, 167, 239);
/* oklch */ color: oklch(73.6% 0.109 268.0);
Tailwind
colors: {
  custom: {
    50: '#b1c0f4',
    500: '#8ca7ef',
    950: '#000000',
  },
}
SCSS
$custom: #8ca7ef;
$custom-light: #b1c0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca7ef",
  "rgb": {
    "r": 140,
    "g": 167,
    "b": 239
  },
  "hsl": {
    "h": 223.636,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73631,
    "c": 0.10916,
    "h": 268
  },
  "luminance": 0.39445
}

Semantic roles & 50–950 ramp

primary
#8CA7EF
secondary
#F3ECD8
accent
#A10ED8
background
#FBFBFE
surface
#F6F7FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #8CA7EF

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

Preview Lab → · Contrast checker → · Palette generator →

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