#798BEB#798BEB

#798BEB is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.5% C 0.144 H 273.9°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#798BEB
RGBrgb(121, 139, 235)
HSLhsl(231, 74%, 70%)
HSVhsv(231, 49%, 92%)
CMYKcmyk(48.5%, 40.9%, 0%, 7.8%)
CIE-LABlab(60.36, 19.08, -50.60)
CIE-LCHlch(60.36, 54.08, 290.67°)
OKLaboklab(66.54% 0.0097 -0.1432)
OKLCHoklch(66.54% 0.144 273.9)
XYZxyz(32.1084, 28.5264, 82.3954)
Luminance0.2853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BEB #EBD979
analogous
#79C4EB #798BEB #A079EB
triadic
#798BEB #EB798B #8BEB79
tetradic
#798BEB #EB79C4 #EBD979 #79EBA0
square
#798BEB #EB79C4 #EBD979 #79EBA0
split-complementary
#798BEB #EBA079 #C4EB79
monochromatic
#1E3ACB #445DE3 #798BEB #AEB9F3 #E4E7FB

Accessibility & contrast

On white

3.13
#798BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#798BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BEB
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BEB#FFFFFF#000000##000000
##798BEB1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6597EF
Deuteranopia (green-blind)
#5A8DE9
Tritanopia (blue-blind)
#4C9FB0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #798beb;
/* rgb */ color: rgb(121, 139, 235);
/* oklch */ color: oklch(66.5% 0.144 273.9);
Tailwind
colors: {
  custom: {
    50: '#a6acf2',
    500: '#798beb',
    950: '#000000',
  },
}
SCSS
$custom: #798beb;
$custom-light: #a6acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#798beb",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 235
  },
  "hsl": {
    "h": 230.526,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66536,
    "c": 0.14355,
    "h": 273.9
  },
  "luminance": 0.28528
}

Semantic roles & 50–950 ramp

primary
#798BEB
secondary
#F0EBD0
accent
#B70FD6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798BEB

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

Preview Lab → · Contrast checker → · Palette generator →

#798BEB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva