#796EBD#796EBD

#796EBD is a mid, moderate blue. Relative luminance 0.189; OKLCH L 58.3% C 0.119 H 288.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#796EBD
RGBrgb(121, 110, 189)
HSLhsl(248, 37%, 59%)
HSVhsv(248, 42%, 74%)
CMYKcmyk(36%, 41.8%, 0%, 25.9%)
CIE-LABlab(50.56, 23.07, -40.15)
CIE-LCHlch(50.56, 46.30, 299.88°)
OKLaboklab(58.29% 0.0378 -0.1128)
OKLCHoklch(58.29% 0.119 288.5)
XYZxyz(22.6439, 18.8903, 50.5874)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EBD #B2BD6E
analogous
#6E8ABD #796EBD #A06EBD
triadic
#796EBD #BD796E #6EBD79
tetradic
#796EBD #BD6E8A #B2BD6E #6EBDA0
square
#796EBD #BD6E8A #B2BD6E #6EBDA0
split-complementary
#796EBD #BDA06E #8ABD6E
monochromatic
#403779 #574AA3 #796EBD #A098D0 #C7C2E3

Accessibility & contrast

On white

4.39
#796EBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#796EBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EBD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EBD#FFFFFF#000000##000000
##796EBD1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#547AC0
Deuteranopia (green-blind)
#5476BB
Tritanopia (blue-blind)
#687D8C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #796ebd;
/* rgb */ color: rgb(121, 110, 189);
/* oklch */ color: oklch(58.3% 0.119 288.5);
Tailwind
colors: {
  custom: {
    50: '#a297d1',
    500: '#796ebd',
    950: '#000000',
  },
}
SCSS
$custom: #796ebd;
$custom-light: #a297d1;
$custom-dark: #000000;
JSON
{
  "hex": "#796ebd",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 189
  },
  "hsl": {
    "h": 248.354,
    "s": 37.441,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58286,
    "c": 0.119,
    "h": 288.5
  },
  "luminance": 0.18891
}

Semantic roles & 50–950 ramp

primary
#796EBD
secondary
#CFD3B4
accent
#CD5ABD
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #796EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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