#798BE7#798BE7

#798BE7 is a light, vivid blue. Relative luminance 0.283; OKLCH L 66.3% C 0.138 H 273.7°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#798BE7
RGBrgb(121, 139, 231)
HSLhsl(230, 70%, 69%)
HSVhsv(230, 48%, 91%)
CMYKcmyk(47.6%, 39.8%, 0%, 9.4%)
CIE-LABlab(60.16, 17.89, -48.70)
CIE-LCHlch(60.16, 51.88, 290.17°)
OKLaboklab(66.31% 0.0089 -0.1377)
OKLCHoklch(66.31% 0.138 273.7)
XYZxyz(31.5370, 28.2979, 79.3861)
Luminance0.2830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BE7 #E7D579
analogous
#79C2E7 #798BE7 #9E79E7
triadic
#798BE7 #E7798B #8BE779
tetradic
#798BE7 #E779C2 #E7D579 #79E79E
square
#798BE7 #E779C2 #E7D579 #79E79E
split-complementary
#798BE7 #E79E79 #C2E779
monochromatic
#233DC3 #455EDE #798BE7 #ADB8F0 #E1E5FA

Accessibility & contrast

On white

3.15
#798BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#798BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BE7
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BE7#FFFFFF#000000##000000
##798BE71.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6896EB
Deuteranopia (green-blind)
#5D8DE5
Tritanopia (blue-blind)
#4F9EAE
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #798be7;
/* rgb */ color: rgb(121, 139, 231);
/* oklch */ color: oklch(66.3% 0.138 273.7);
Tailwind
colors: {
  custom: {
    50: '#a5acef',
    500: '#798be7',
    950: '#000000',
  },
}
SCSS
$custom: #798be7;
$custom-light: #a5acef;
$custom-dark: #000000;
JSON
{
  "hex": "#798be7",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 231
  },
  "hsl": {
    "h": 230.182,
    "s": 69.62,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66313,
    "c": 0.13798,
    "h": 273.7
  },
  "luminance": 0.283
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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