#798AEB#798AEB

#798AEB is a light, vivid blue. Relative luminance 0.282; OKLCH L 66.3% C 0.145 H 274.3°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#798AEB
RGBrgb(121, 138, 235)
HSLhsl(231, 74%, 70%)
HSVhsv(231, 49%, 92%)
CMYKcmyk(48.5%, 41.3%, 0%, 7.8%)
CIE-LABlab(60.10, 19.67, -51.01)
CIE-LCHlch(60.10, 54.67, 291.09°)
OKLaboklab(66.34% 0.0108 -0.1444)
OKLCHoklch(66.34% 0.145 274.3)
XYZxyz(31.9643, 28.2382, 82.3474)
Luminance0.2824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798AEB #EBDA79
analogous
#79C3EB #798AEB #A179EB
triadic
#798AEB #EB798A #8AEB79
tetradic
#798AEB #EB79C3 #EBDA79 #79EBA1
square
#798AEB #EB79C3 #EBDA79 #79EBA1
split-complementary
#798AEB #EBA179 #C3EB79
monochromatic
#1E38CB #445CE3 #798AEB #AEB8F3 #E4E7FB

Accessibility & contrast

On white

3.16
#798AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#798AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798AEB
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798AEB#FFFFFF#000000##000000
##798AEB1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496EF
Deuteranopia (green-blind)
#598CE9
Tritanopia (blue-blind)
#4C9EAF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #798aeb;
/* rgb */ color: rgb(121, 138, 235);
/* oklch */ color: oklch(66.3% 0.145 274.3);
Tailwind
colors: {
  custom: {
    50: '#a6abf2',
    500: '#798aeb',
    950: '#000000',
  },
}
SCSS
$custom: #798aeb;
$custom-light: #a6abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#798aeb",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 231.053,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66338,
    "c": 0.14483,
    "h": 274.3
  },
  "luminance": 0.2824
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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