#796EE5#796EE5

#796EE5 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.7% C 0.174 H 284.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#796EE5
RGBrgb(121, 110, 229)
HSLhsl(246, 70%, 66%)
HSVhsv(246, 52%, 90%)
CMYKcmyk(47.2%, 52%, 0%, 10.2%)
CIE-LABlab(52.81, 34.51, -59.31)
CIE-LCHlch(52.81, 68.62, 300.19°)
OKLaboklab(60.71% 0.0425 -0.169)
OKLCHoklch(60.71% 0.174 284.1)
XYZxyz(27.5998, 20.8726, 76.6881)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EE5 #DAE56E
analogous
#6E9FE5 #796EE5 #B56EE5
triadic
#796EE5 #E5796E #6EE579
tetradic
#796EE5 #E56E9F #DAE56E #6EE5B5
square
#796EE5 #E56E9F #DAE56E #6EE5B5
split-complementary
#796EE5 #E5B56E #9FE56E
monochromatic
#2F21B8 #493ADC #796EE5 #A9A2EE #D9D6F8

Accessibility & contrast

On white

4.06
#796EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#796EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EE5
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EE5#FFFFFF#000000##000000
##796EE51.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3382E9
Deuteranopia (green-blind)
#2D7AE2
Tritanopia (blue-blind)
#54889F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #796ee5;
/* rgb */ color: rgb(121, 110, 229);
/* oklch */ color: oklch(60.7% 0.174 284.1);
Tailwind
colors: {
  custom: {
    50: '#a698ee',
    500: '#796ee5',
    950: '#000000',
  },
}
SCSS
$custom: #796ee5;
$custom-light: #a698ee;
$custom-dark: #000000;
JSON
{
  "hex": "#796ee5",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 229
  },
  "hsl": {
    "h": 245.546,
    "s": 69.591,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6071,
    "c": 0.17422,
    "h": 284.1
  },
  "luminance": 0.20874
}

Semantic roles & 50–950 ramp

primary
#796EE5
secondary
#E7EBC4
accent
#D214C0
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #796EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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