#798AE7#798AE7

#798AE7 is a light, vivid blue. Relative luminance 0.280; OKLCH L 66.1% C 0.139 H 274.2°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#798AE7
RGBrgb(121, 138, 231)
HSLhsl(231, 70%, 69%)
HSVhsv(231, 48%, 91%)
CMYKcmyk(47.6%, 40.3%, 0%, 9.4%)
CIE-LABlab(59.90, 18.48, -49.11)
CIE-LCHlch(59.90, 52.47, 290.62°)
OKLaboklab(66.11% 0.0101 -0.1389)
OKLCHoklch(66.11% 0.139 274.2)
XYZxyz(31.3929, 28.0096, 79.3380)
Luminance0.2801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798AE7 #E7D679
analogous
#79C1E7 #798AE7 #9F79E7
triadic
#798AE7 #E7798A #8AE779
tetradic
#798AE7 #E779C1 #E7D679 #79E79F
square
#798AE7 #E779C1 #E7D679 #79E79F
split-complementary
#798AE7 #E79F79 #C1E779
monochromatic
#233CC3 #455DDE #798AE7 #ADB7F0 #E1E5FA

Accessibility & contrast

On white

3.18
#798AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#798AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798AE7
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798AE7#FFFFFF#000000##000000
##798AE71.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6695EB
Deuteranopia (green-blind)
#5C8CE5
Tritanopia (blue-blind)
#4F9DAD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #798ae7;
/* rgb */ color: rgb(121, 138, 231);
/* oklch */ color: oklch(66.1% 0.139 274.2);
Tailwind
colors: {
  custom: {
    50: '#a5abef',
    500: '#798ae7',
    950: '#000000',
  },
}
SCSS
$custom: #798ae7;
$custom-light: #a5abef;
$custom-dark: #000000;
JSON
{
  "hex": "#798ae7",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 231
  },
  "hsl": {
    "h": 230.727,
    "s": 69.62,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66114,
    "c": 0.13927,
    "h": 274.2
  },
  "luminance": 0.28011
}

Semantic roles & 50–950 ramp

primary
#798AE7
secondary
#EEE9CE
accent
#B414D2
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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