#798AEA#798AEA

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

Color values

HEX#798AEA
RGBrgb(121, 138, 234)
HSLhsl(231, 73%, 70%)
HSVhsv(231, 48%, 92%)
CMYKcmyk(48.3%, 41%, 0%, 8.2%)
CIE-LABlab(60.05, 19.37, -50.53)
CIE-LCHlch(60.05, 54.12, 290.98°)
OKLaboklab(66.28% 0.0106 -0.143)
OKLCHoklch(66.28% 0.143 274.3)
XYZxyz(31.8202, 28.1805, 81.5886)
Luminance0.2818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798AEA #EAD979
analogous
#79C3EA #798AEA #A079EA
triadic
#798AEA #EA798A #8AEA79
tetradic
#798AEA #EA79C3 #EAD979 #79EAA0
square
#798AEA #EA79C3 #EAD979 #79EAA0
split-complementary
#798AEA #EAA079 #C3EA79
monochromatic
#2039C9 #445CE2 #798AEA #AEB8F2 #E3E6FB

Accessibility & contrast

On white

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

On black

6.64
#798AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798AEA
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798AEA#FFFFFF#000000##000000
##798AEA1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496EE
Deuteranopia (green-blind)
#5A8CE8
Tritanopia (blue-blind)
#4D9EAF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #798aea;
/* rgb */ color: rgb(121, 138, 234);
/* oklch */ color: oklch(66.3% 0.143 274.3);
Tailwind
colors: {
  custom: {
    50: '#a6abf1',
    500: '#798aea',
    950: '#000000',
  },
}
SCSS
$custom: #798aea;
$custom-light: #a6abf1;
$custom-dark: #000000;
JSON
{
  "hex": "#798aea",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 234
  },
  "hsl": {
    "h": 230.973,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66282,
    "c": 0.14345,
    "h": 274.3
  },
  "luminance": 0.28182
}

Semantic roles & 50–950 ramp

primary
#798AEA
secondary
#F0EBCF
accent
#B711D5
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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