#796EB4#796EB4

#796EB4 is a mid, moderate blue. Relative luminance 0.185; OKLCH L 57.8% C 0.106 H 289.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#796EB4
RGBrgb(121, 110, 180)
HSLhsl(249, 32%, 57%)
HSVhsv(249, 39%, 71%)
CMYKcmyk(32.8%, 38.9%, 0%, 29.4%)
CIE-LABlab(50.11, 20.62, -35.65)
CIE-LCHlch(50.11, 41.18, 300.04°)
OKLaboklab(57.8% 0.0361 -0.0998)
OKLCHoklch(57.8% 0.106 289.9)
XYZxyz(21.6972, 18.5116, 45.6011)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EB4 #A9B46E
analogous
#6E86B4 #796EB4 #9C6EB4
triadic
#796EB4 #B4796E #6EB479
tetradic
#796EB4 #B46E86 #A9B46E #6EB49C
square
#796EB4 #B46E86 #A9B46E #6EB49C
split-complementary
#796EB4 #B49C6E #86B46E
monochromatic
#42396E #594E97 #796EB4 #9E96C9 #C4BFDE

Accessibility & contrast

On white

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

On black

4.70
#796EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EB4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EB4#FFFFFF#000000##000000
##796EB41.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5979B7
Deuteranopia (green-blind)
#5976B2
Tritanopia (blue-blind)
#6B7B88
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #796eb4;
/* rgb */ color: rgb(121, 110, 180);
/* oklch */ color: oklch(57.8% 0.106 289.9);
Tailwind
colors: {
  custom: {
    50: '#a297cb',
    500: '#796eb4',
    950: '#000000',
  },
}
SCSS
$custom: #796eb4;
$custom-light: #a297cb;
$custom-dark: #000000;
JSON
{
  "hex": "#796eb4",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 180
  },
  "hsl": {
    "h": 249.429,
    "s": 31.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57799,
    "c": 0.10609,
    "h": 289.9
  },
  "luminance": 0.18512
}

Semantic roles & 50–950 ramp

primary
#796EB4
secondary
#C9CDB1
accent
#C860B8
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #796EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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