#798CE7#798CE7

#798CE7 is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.5% C 0.137 H 273.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#798CE7
RGBrgb(121, 140, 231)
HSLhsl(230, 70%, 69%)
HSVhsv(230, 48%, 91%)
CMYKcmyk(47.6%, 39.4%, 0%, 9.4%)
CIE-LABlab(60.42, 17.30, -48.29)
CIE-LCHlch(60.42, 51.30, 289.71°)
OKLaboklab(66.51% 0.0077 -0.1365)
OKLCHoklch(66.51% 0.137 273.2)
XYZxyz(31.6825, 28.5888, 79.4345)
Luminance0.2859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CE7 #E7D479
analogous
#79C3E7 #798CE7 #9D79E7
triadic
#798CE7 #E7798C #8CE779
tetradic
#798CE7 #E779C3 #E7D479 #79E79D
square
#798CE7 #E779C3 #E7D479 #79E79D
split-complementary
#798CE7 #E79D79 #C3E779
monochromatic
#233EC3 #455FDE #798CE7 #ADB9F0 #E1E5FA

Accessibility & contrast

On white

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

On black

6.72
#798CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CE7
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CE7#FFFFFF#000000##000000
##798CE71.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6997EB
Deuteranopia (green-blind)
#5F8DE5
Tritanopia (blue-blind)
#4E9FAE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798ce7;
/* rgb */ color: rgb(121, 140, 231);
/* oklch */ color: oklch(66.5% 0.137 273.2);
Tailwind
colors: {
  custom: {
    50: '#a5adef',
    500: '#798ce7',
    950: '#000000',
  },
}
SCSS
$custom: #798ce7;
$custom-light: #a5adef;
$custom-dark: #000000;
JSON
{
  "hex": "#798ce7",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 231
  },
  "hsl": {
    "h": 229.636,
    "s": 69.62,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66512,
    "c": 0.1367,
    "h": 273.2
  },
  "luminance": 0.28591
}

Semantic roles & 50–950 ramp

primary
#798CE7
secondary
#EEE8CE
accent
#B114D2
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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