#8FA8EF#8FA8EF

#8FA8EF is a light, moderate blue. Relative luminance 0.401; OKLCH L 74.0% C 0.107 H 268.9°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#8FA8EF
RGBrgb(143, 168, 239)
HSLhsl(224, 75%, 75%)
HSVhsv(224, 40%, 94%)
CMYKcmyk(40.2%, 29.7%, 0%, 6.3%)
CIE-LABlab(69.52, 8.87, -38.29)
CIE-LCHlch(69.52, 39.31, 283.04°)
OKLaboklab(74.03% -0.0021 -0.107)
OKLCHoklch(74.03% 0.107 268.9)
XYZxyz(40.9055, 40.0749, 87.2245)
Luminance0.4008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA8EF #EFD68F
analogous
#8FD8EF #8FA8EF #A68FEF
triadic
#8FA8EF #EF8FA8 #A8EF8F
tetradic
#8FA8EF #EF8FD8 #EFD68F #8FEFA6
square
#8FA8EF #EF8FD8 #EFD68F #8FEFA6
split-complementary
#8FA8EF #EFA68F #D8EF8F
monochromatic
#2455E0 #597EE7 #8FA8EF #C5D2F7 #E4EAFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA8EF#FFFFFF#000000##000000
##8FA8EF1.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)
#90AEF2
Deuteranopia (green-blind)
#87A6ED
Tritanopia (blue-blind)
#70B6C1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #8fa8ef;
/* rgb */ color: rgb(143, 168, 239);
/* oklch */ color: oklch(74.0% 0.107 268.9);
Tailwind
colors: {
  custom: {
    50: '#b3c1f4',
    500: '#8fa8ef',
    950: '#000000',
  },
}
SCSS
$custom: #8fa8ef;
$custom-light: #b3c1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa8ef",
  "rgb": {
    "r": 143,
    "g": 168,
    "b": 239
  },
  "hsl": {
    "h": 224.375,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74031,
    "c": 0.10699,
    "h": 268.9
  },
  "luminance": 0.40077
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8FA8EF

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

Preview Lab → · Contrast checker → · Palette generator →

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