#8795CD#8795CD

#8795CD is a light, moderate blue. Relative luminance 0.311; OKLCH L 68.0% C 0.085 H 273.2°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8795CD
RGBrgb(135, 149, 205)
HSLhsl(228, 41%, 67%)
HSVhsv(228, 34%, 80%)
CMYKcmyk(34.1%, 27.3%, 0%, 19.6%)
CIE-LABlab(62.55, 8.36, -30.40)
CIE-LCHlch(62.55, 31.52, 285.38°)
OKLaboklab(68.02% 0.0047 -0.0844)
OKLCHoklch(68.02% 0.085 273.2)
XYZxyz(31.7554, 31.0524, 62.0663)
Luminance0.3105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8795CD #CDBF87
analogous
#87B8CD #8795CD #9C87CD
triadic
#8795CD #CD8795 #95CD87
tetradic
#8795CD #CD87B8 #CDBF87 #87CD9C
square
#8795CD #CD87B8 #CDBF87 #87CD9C
split-complementary
#8795CD #CD9C87 #B8CD87
monochromatic
#40529A #5C6FBB #8795CD #B2BBDF #DDE1F1

Accessibility & contrast

On white

2.91
#8795CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#8795CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8795CD
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8795CD#FFFFFF#000000##000000
##8795CD1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#839ACF
Deuteranopia (green-blind)
#7E95CC
Tritanopia (blue-blind)
#73A0A9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8795cd;
/* rgb */ color: rgb(135, 149, 205);
/* oklch */ color: oklch(68.0% 0.085 273.2);
Tailwind
colors: {
  custom: {
    50: '#acb4dc',
    500: '#8795cd',
    950: '#000000',
  },
}
SCSS
$custom: #8795cd;
$custom-light: #acb4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8795cd",
  "rgb": {
    "r": 135,
    "g": 149,
    "b": 205
  },
  "hsl": {
    "h": 228,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68015,
    "c": 0.08453,
    "h": 273.2
  },
  "luminance": 0.31054
}

Semantic roles & 50–950 ramp

primary
#8795CD
secondary
#E3DFCD
accent
#9A31B4
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #8795CD

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

Preview Lab → · Contrast checker → · Palette generator →

#8795CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva