#798AE6#798AE6

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

Color values

HEX#798AE6
RGBrgb(121, 138, 230)
HSLhsl(231, 69%, 69%)
HSVhsv(231, 47%, 90%)
CMYKcmyk(47.4%, 40%, 0%, 9.8%)
CIE-LABlab(59.85, 18.18, -48.64)
CIE-LCHlch(59.85, 51.93, 290.49°)
OKLaboklab(66.06% 0.0099 -0.1375)
OKLCHoklch(66.06% 0.138 274.1)
XYZxyz(31.2521, 27.9533, 78.5963)
Luminance0.2796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798AE6 #E6D579
analogous
#79C1E6 #798AE6 #9F79E6
triadic
#798AE6 #E6798A #8AE679
tetradic
#798AE6 #E679C1 #E6D579 #79E69F
square
#798AE6 #E679C1 #E6D579 #79E69F
split-complementary
#798AE6 #E69F79 #C1E679
monochromatic
#243CC1 #455DDC #798AE6 #ADB7F0 #E0E4F9

Accessibility & contrast

On white

3.19
#798AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#798AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798AE6
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798AE6#FFFFFF#000000##000000
##798AE61.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6795EA
Deuteranopia (green-blind)
#5D8CE4
Tritanopia (blue-blind)
#4F9DAD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #798ae6;
/* rgb */ color: rgb(121, 138, 230);
/* oklch */ color: oklch(66.1% 0.138 274.1);
Tailwind
colors: {
  custom: {
    50: '#a5abee',
    500: '#798ae6',
    950: '#000000',
  },
}
SCSS
$custom: #798ae6;
$custom-light: #a5abee;
$custom-dark: #000000;
JSON
{
  "hex": "#798ae6",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 230
  },
  "hsl": {
    "h": 230.642,
    "s": 68.553,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66058,
    "c": 0.13787,
    "h": 274.1
  },
  "luminance": 0.27955
}

Semantic roles & 50–950 ramp

primary
#798AE6
secondary
#EEE8CD
accent
#B315D0
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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