#796EEF#796EEF

#796EEF is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.4% C 0.187 H 283.2°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#796EEF
RGBrgb(121, 110, 239)
HSLhsl(245, 80%, 68%)
HSVhsv(245, 54%, 94%)
CMYKcmyk(49.4%, 54%, 0%, 6.3%)
CIE-LABlab(53.44, 37.46, -63.90)
CIE-LCHlch(53.44, 74.07, 300.38°)
OKLaboklab(61.38% 0.0429 -0.1825)
OKLCHoklch(61.38% 0.187 283.2)
XYZxyz(29.0364, 21.4473, 84.2544)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EEF #E4EF6E
analogous
#6EA3EF #796EEF #B96EEF
triadic
#796EEF #EF796E #6EEF79
tetradic
#796EEF #EF6EA3 #E4EF6E #6EEFB9
square
#796EEF #EF6EA3 #E4EF6E #6EEFB9
split-complementary
#796EEF #EFB96E #A3EF6E
monochromatic
#2617CC #4637E9 #796EEF #ACA5F5 #DFDCFB

Accessibility & contrast

On white

3.97
#796EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#796EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EEF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EEF#FFFFFF#000000##000000
##796EEF1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2384F3
Deuteranopia (green-blind)
#157BEC
Tritanopia (blue-blind)
#4D8BA4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #796eef;
/* rgb */ color: rgb(121, 110, 239);
/* oklch */ color: oklch(61.4% 0.187 283.2);
Tailwind
colors: {
  custom: {
    50: '#a798f5',
    500: '#796eef',
    950: '#000000',
  },
}
SCSS
$custom: #796eef;
$custom-light: #a798f5;
$custom-dark: #000000;
JSON
{
  "hex": "#796eef",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 239
  },
  "hsl": {
    "h": 245.116,
    "s": 80.124,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61377,
    "c": 0.18744,
    "h": 283.2
  },
  "luminance": 0.21449
}

Semantic roles & 50–950 ramp

primary
#796EEF
secondary
#ECF0C9
accent
#DC09CA
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #796EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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