#796EB3#796EB3

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

Color values

HEX#796EB3
RGBrgb(121, 110, 179)
HSLhsl(250, 31%, 57%)
HSVhsv(250, 39%, 70%)
CMYKcmyk(32.4%, 38.5%, 0%, 29.8%)
CIE-LABlab(50.06, 20.35, -35.15)
CIE-LCHlch(50.06, 40.61, 300.07°)
OKLaboklab(57.75% 0.0359 -0.0983)
OKLCHoklch(57.75% 0.105 290)
XYZxyz(21.5957, 18.4710, 45.0665)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EB3 #A8B36E
analogous
#6E86B3 #796EB3 #9C6EB3
triadic
#796EB3 #B3796E #6EB379
tetradic
#796EB3 #B36E86 #A8B36E #6EB39C
square
#796EB3 #B36E86 #A8B36E #6EB39C
split-complementary
#796EB3 #B39C6E #86B36E
monochromatic
#42396D #5A4E95 #796EB3 #9E96C8 #C3BEDD

Accessibility & contrast

On white

4.47
#796EB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##796EB3#FFFFFF#000000##000000
##796EB31.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5978B6
Deuteranopia (green-blind)
#5A76B1
Tritanopia (blue-blind)
#6B7B88
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #796eb3;
/* rgb */ color: rgb(121, 110, 179);
/* oklch */ color: oklch(57.7% 0.105 290.0);
Tailwind
colors: {
  custom: {
    50: '#a197ca',
    500: '#796eb3',
    950: '#000000',
  },
}
SCSS
$custom: #796eb3;
$custom-light: #a197ca;
$custom-dark: #000000;
JSON
{
  "hex": "#796eb3",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 179
  },
  "hsl": {
    "h": 249.565,
    "s": 31.222,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57746,
    "c": 0.10464,
    "h": 290
  },
  "luminance": 0.18471
}

Semantic roles & 50–950 ramp

primary
#796EB3
secondary
#C8CDB0
accent
#C760B7
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #796EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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