#796FBB#796FBB

#796FBB is a mid, moderate blue. Relative luminance 0.190; OKLCH L 58.4% C 0.115 H 288.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#796FBB
RGBrgb(121, 111, 187)
HSLhsl(248, 36%, 58%)
HSVhsv(248, 41%, 73%)
CMYKcmyk(35.3%, 40.6%, 0%, 26.7%)
CIE-LABlab(50.71, 21.92, -38.75)
CIE-LCHlch(50.71, 44.52, 299.50°)
OKLaboklab(58.37% 0.0361 -0.1088)
OKLCHoklch(58.37% 0.115 288.4)
XYZxyz(22.5368, 19.0211, 49.4881)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FBB #B1BB6F
analogous
#6F8BBB #796FBB #9F6FBB
triadic
#796FBB #BB796F #6FBB79
tetradic
#796FBB #BB6F8B #B1BB6F #6FBB9F
square
#796FBB #BB6F8B #B1BB6F #6FBB9F
split-complementary
#796FBB #BB9F6F #8BBB6F
monochromatic
#413877 #574CA1 #796FBB #A099CF #C6C2E2

Accessibility & contrast

On white

4.37
#796FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#796FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FBB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FBB#FFFFFF#000000##000000
##796FBB1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#577ABE
Deuteranopia (green-blind)
#5677B9
Tritanopia (blue-blind)
#687D8C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #796fbb;
/* rgb */ color: rgb(121, 111, 187);
/* oklch */ color: oklch(58.4% 0.115 288.4);
Tailwind
colors: {
  custom: {
    50: '#a298d0',
    500: '#796fbb',
    950: '#000000',
  },
}
SCSS
$custom: #796fbb;
$custom-light: #a298d0;
$custom-dark: #000000;
JSON
{
  "hex": "#796fbb",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 187
  },
  "hsl": {
    "h": 247.895,
    "s": 35.849,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5837,
    "c": 0.1146,
    "h": 288.4
  },
  "luminance": 0.19022
}

Semantic roles & 50–950 ramp

primary
#796FBB
secondary
#CED2B4
accent
#CC5CBD
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #796FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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