#796EBC#796EBC

#796EBC is a mid, moderate blue. Relative luminance 0.188; OKLCH L 58.2% C 0.118 H 288.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#796EBC
RGBrgb(121, 110, 188)
HSLhsl(248, 37%, 58%)
HSVhsv(248, 41%, 74%)
CMYKcmyk(35.6%, 41.5%, 0%, 26.3%)
CIE-LABlab(50.51, 22.80, -39.65)
CIE-LCHlch(50.51, 45.74, 299.90°)
OKLaboklab(58.23% 0.0376 -0.1114)
OKLCHoklch(58.23% 0.118 288.7)
XYZxyz(22.5358, 18.8470, 50.0177)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EBC #B1BC6E
analogous
#6E8ABC #796EBC #A06EBC
triadic
#796EBC #BC796E #6EBC79
tetradic
#796EBC #BC6E8A #B1BC6E #6EBCA0
square
#796EBC #BC6E8A #B1BC6E #6EBCA0
split-complementary
#796EBC #BCA06E #8ABC6E
monochromatic
#413778 #574BA2 #796EBC #A098CF #C6C2E3

Accessibility & contrast

On white

4.40
#796EBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#796EBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EBC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EBC#FFFFFF#000000##000000
##796EBC1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#557ABF
Deuteranopia (green-blind)
#5576BA
Tritanopia (blue-blind)
#687D8C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #796ebc;
/* rgb */ color: rgb(121, 110, 188);
/* oklch */ color: oklch(58.2% 0.118 288.7);
Tailwind
colors: {
  custom: {
    50: '#a297d0',
    500: '#796ebc',
    950: '#000000',
  },
}
SCSS
$custom: #796ebc;
$custom-light: #a297d0;
$custom-dark: #000000;
JSON
{
  "hex": "#796ebc",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 188
  },
  "hsl": {
    "h": 248.462,
    "s": 36.792,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58231,
    "c": 0.11757,
    "h": 288.7
  },
  "luminance": 0.18848
}

Semantic roles & 50–950 ramp

primary
#796EBC
secondary
#CED2B3
accent
#CD5BBD
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #796EBC

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

Preview Lab → · Contrast checker → · Palette generator →

#796EBC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva