#796EBB#796EBB

#796EBB is a mid, moderate blue. Relative luminance 0.188; OKLCH L 58.2% C 0.116 H 288.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#796EBB
RGBrgb(121, 110, 187)
HSLhsl(249, 36%, 58%)
HSVhsv(249, 41%, 73%)
CMYKcmyk(35.3%, 41.2%, 0%, 26.7%)
CIE-LABlab(50.46, 22.52, -39.15)
CIE-LCHlch(50.46, 45.17, 299.91°)
OKLaboklab(58.18% 0.0375 -0.1099)
OKLCHoklch(58.18% 0.116 288.8)
XYZxyz(22.4283, 18.8041, 49.4519)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EBB #B0BB6E
analogous
#6E89BB #796EBB #9F6EBB
triadic
#796EBB #BB796E #6EBB79
tetradic
#796EBB #BB6E89 #B0BB6E #6EBB9F
square
#796EBB #BB6E89 #B0BB6E #6EBB9F
split-complementary
#796EBB #BB9F6E #89BB6E
monochromatic
#413877 #574BA1 #796EBB #A098CF #C6C1E2

Accessibility & contrast

On white

4.41
#796EBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#796EBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EBB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EBB#FFFFFF#000000##000000
##796EBB1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#557ABE
Deuteranopia (green-blind)
#5576B9
Tritanopia (blue-blind)
#687D8B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #796ebb;
/* rgb */ color: rgb(121, 110, 187);
/* oklch */ color: oklch(58.2% 0.116 288.8);
Tailwind
colors: {
  custom: {
    50: '#a297d0',
    500: '#796ebb',
    950: '#000000',
  },
}
SCSS
$custom: #796ebb;
$custom-light: #a297d0;
$custom-dark: #000000;
JSON
{
  "hex": "#796ebb",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 187
  },
  "hsl": {
    "h": 248.571,
    "s": 36.15,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58176,
    "c": 0.11614,
    "h": 288.8
  },
  "luminance": 0.18805
}

Semantic roles & 50–950 ramp

primary
#796EBB
secondary
#CDD2B3
accent
#CC5CBC
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #796EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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