#796EBF#796EBF

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

Color values

HEX#796EBF
RGBrgb(121, 110, 191)
HSLhsl(248, 39%, 59%)
HSVhsv(248, 42%, 75%)
CMYKcmyk(36.6%, 42.4%, 0%, 25.1%)
CIE-LABlab(50.66, 23.62, -41.14)
CIE-LCHlch(50.66, 47.44, 299.87°)
OKLaboklab(58.4% 0.0382 -0.1157)
OKLCHoklch(58.4% 0.122 288.3)
XYZxyz(22.8625, 18.9777, 51.7386)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EBF #B4BF6E
analogous
#6E8CBF #796EBF #A26EBF
triadic
#796EBF #BF796E #6EBF79
tetradic
#796EBF #BF6E8C #B4BF6E #6EBFA2
square
#796EBF #BF6E8C #B4BF6E #6EBFA2
split-complementary
#796EBF #BFA26E #8CBF6E
monochromatic
#40377C #5649A6 #796EBF #A098D2 #C7C3E4

Accessibility & contrast

On white

4.38
#796EBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##796EBF#FFFFFF#000000##000000
##796EBF1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#537AC2
Deuteranopia (green-blind)
#5377BD
Tritanopia (blue-blind)
#677E8D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #796ebf;
/* rgb */ color: rgb(121, 110, 191);
/* oklch */ color: oklch(58.4% 0.122 288.3);
Tailwind
colors: {
  custom: {
    50: '#a297d3',
    500: '#796ebf',
    950: '#000000',
  },
}
SCSS
$custom: #796ebf;
$custom-light: #a297d3;
$custom-dark: #000000;
JSON
{
  "hex": "#796ebf",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 191
  },
  "hsl": {
    "h": 248.148,
    "s": 38.756,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58398,
    "c": 0.12185,
    "h": 288.3
  },
  "luminance": 0.18978
}

Semantic roles & 50–950 ramp

primary
#796EBF
secondary
#D0D4B5
accent
#CF59BF
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #796EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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