#796FB0#796FB0

#796FB0 is a mid, moderate blue. Relative luminance 0.186; OKLCH L 57.8% C 0.099 H 290.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#796FB0
RGBrgb(121, 111, 176)
HSLhsl(249, 29%, 56%)
HSVhsv(249, 37%, 69%)
CMYKcmyk(31.3%, 36.9%, 0%, 31%)
CIE-LABlab(50.18, 18.95, -33.23)
CIE-LCHlch(50.18, 38.25, 299.70°)
OKLaboklab(57.79% 0.0338 -0.0927)
OKLCHoklch(57.79% 0.099 290)
XYZxyz(21.4041, 18.5680, 43.5222)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FB0 #A6B06F
analogous
#6F86B0 #796FB0 #9A6FB0
triadic
#796FB0 #B0796F #6FB079
tetradic
#796FB0 #B06F86 #A6B06F #6FB09A
square
#796FB0 #B06F86 #A6B06F #6FB09A
split-complementary
#796FB0 #B09A6F #86B06F
monochromatic
#423A6A #5A5092 #796FB0 #9E97C6 #C3BEDB

Accessibility & contrast

On white

4.46
#796FB0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#796FB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FB0
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FB0#FFFFFF#000000##000000
##796FB01.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C79B3
Deuteranopia (green-blind)
#5C76AE
Tritanopia (blue-blind)
#6C7B87
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #796fb0;
/* rgb */ color: rgb(121, 111, 176);
/* oklch */ color: oklch(57.8% 0.099 290.0);
Tailwind
colors: {
  custom: {
    50: '#a198c8',
    500: '#796fb0',
    950: '#000000',
  },
}
SCSS
$custom: #796fb0;
$custom-light: #a198c8;
$custom-dark: #000000;
JSON
{
  "hex": "#796fb0",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 176
  },
  "hsl": {
    "h": 249.231,
    "s": 29.148,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57788,
    "c": 0.09871,
    "h": 290
  },
  "luminance": 0.18568
}

Semantic roles & 50–950 ramp

primary
#796FB0
secondary
#C7CBB0
accent
#C562B6
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #796FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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