#8CA5F1#8CA5F1

#8CA5F1 is a light, moderate blue. Relative luminance 0.388; OKLCH L 73.3% C 0.114 H 269.5°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#8CA5F1
RGBrgb(140, 165, 241)
HSLhsl(225, 78%, 75%)
HSVhsv(225, 42%, 95%)
CMYKcmyk(41.9%, 31.5%, 0%, 5.5%)
CIE-LABlab(68.63, 10.35, -40.79)
CIE-LCHlch(68.63, 42.08, 284.24°)
OKLaboklab(73.32% -0.0009 -0.1142)
OKLCHoklch(73.32% 0.114 269.5)
XYZxyz(40.1426, 38.8345, 88.5827)
Luminance0.3884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA5F1 #F1D88C
analogous
#8CD7F1 #8CA5F1 #A68CF1
triadic
#8CA5F1 #F18CA5 #A5F18C
tetradic
#8CA5F1 #F18CD7 #F1D88C #8CF1A6
square
#8CA5F1 #F18CD7 #F1D88C #8CF1A6
split-complementary
#8CA5F1 #F1A68C #D7F18C
monochromatic
#1F50E4 #557AEA #8CA5F1 #C3D0F8 #E4EAFC

Accessibility & contrast

On white

2.40
#8CA5F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#8CA5F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA5F1
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA5F1#FFFFFF#000000##000000
##8CA5F11.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AACF4
Deuteranopia (green-blind)
#81A3EF
Tritanopia (blue-blind)
#6AB5C0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8ca5f1;
/* rgb */ color: rgb(140, 165, 241);
/* oklch */ color: oklch(73.3% 0.114 269.5);
Tailwind
colors: {
  custom: {
    50: '#b1bff6',
    500: '#8ca5f1',
    950: '#000000',
  },
}
SCSS
$custom: #8ca5f1;
$custom-light: #b1bff6;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca5f1",
  "rgb": {
    "r": 140,
    "g": 165,
    "b": 241
  },
  "hsl": {
    "h": 225.149,
    "s": 78.295,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73318,
    "c": 0.11423,
    "h": 269.5
  },
  "luminance": 0.38837
}

Semantic roles & 50–950 ramp

primary
#8CA5F1
secondary
#F3EDD8
accent
#A70BDB
background
#FBFBFF
surface
#F6F7FE
border
#D0D0D6
text
#111217
muted
#808185

Preview Lab

Preview with #8CA5F1

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

Preview Lab → · Contrast checker → · Palette generator →

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