#796EB2#796EB2

#796EB2 is a mid, moderate blue. Relative luminance 0.184; OKLCH L 57.7% C 0.103 H 290.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#796EB2
RGBrgb(121, 110, 178)
HSLhsl(250, 31%, 56%)
HSVhsv(250, 38%, 70%)
CMYKcmyk(32%, 38.2%, 0%, 30.2%)
CIE-LABlab(50.01, 20.08, -34.64)
CIE-LCHlch(50.01, 40.04, 300.10°)
OKLaboklab(57.69% 0.0356 -0.0968)
OKLCHoklch(57.69% 0.103 290.2)
XYZxyz(21.4949, 18.4307, 44.5358)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EB2 #A7B26E
analogous
#6E85B2 #796EB2 #9B6EB2
triadic
#796EB2 #B2796E #6EB279
tetradic
#796EB2 #B26E85 #A7B26E #6EB29B
square
#796EB2 #B26E85 #A7B26E #6EB29B
split-complementary
#796EB2 #B29B6E #85B26E
monochromatic
#42396C #5A4F94 #796EB2 #9E96C7 #C3BEDC

Accessibility & contrast

On white

4.48
#796EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#796EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EB2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EB2#FFFFFF#000000##000000
##796EB21.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A78B5
Deuteranopia (green-blind)
#5A75B0
Tritanopia (blue-blind)
#6C7A87
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #796eb2;
/* rgb */ color: rgb(121, 110, 178);
/* oklch */ color: oklch(57.7% 0.103 290.2);
Tailwind
colors: {
  custom: {
    50: '#a197c9',
    500: '#796eb2',
    950: '#000000',
  },
}
SCSS
$custom: #796eb2;
$custom-light: #a197c9;
$custom-dark: #000000;
JSON
{
  "hex": "#796eb2",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 178
  },
  "hsl": {
    "h": 249.706,
    "s": 30.631,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57694,
    "c": 0.1032,
    "h": 290.2
  },
  "luminance": 0.18431
}

Semantic roles & 50–950 ramp

primary
#796EB2
secondary
#C7CCB0
accent
#C761B6
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #796EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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