#798BE8#798BE8

#798BE8 is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.4% C 0.139 H 273.7°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#798BE8
RGBrgb(121, 139, 232)
HSLhsl(230, 71%, 69%)
HSVhsv(230, 48%, 91%)
CMYKcmyk(47.8%, 40.1%, 0%, 9%)
CIE-LABlab(60.21, 18.19, -49.18)
CIE-LCHlch(60.21, 52.43, 290.29°)
OKLaboklab(66.37% 0.0091 -0.1391)
OKLCHoklch(66.37% 0.139 273.7)
XYZxyz(31.6787, 28.3545, 80.1320)
Luminance0.2836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BE8 #E8D679
analogous
#79C3E8 #798BE8 #9F79E8
triadic
#798BE8 #E8798B #8BE879
tetradic
#798BE8 #E879C3 #E8D679 #79E89F
square
#798BE8 #E879C3 #E8D679 #79E89F
split-complementary
#798BE8 #E89F79 #C3E879
monochromatic
#223CC5 #455EDF #798BE8 #ADB8F1 #E1E5FA

Accessibility & contrast

On white

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

On black

6.67
#798BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BE8
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BE8#FFFFFF#000000##000000
##798BE81.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6796EC
Deuteranopia (green-blind)
#5D8DE6
Tritanopia (blue-blind)
#4E9FAE
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #798be8;
/* rgb */ color: rgb(121, 139, 232);
/* oklch */ color: oklch(66.4% 0.139 273.7);
Tailwind
colors: {
  custom: {
    50: '#a5acf0',
    500: '#798be8',
    950: '#000000',
  },
}
SCSS
$custom: #798be8;
$custom-light: #a5acf0;
$custom-dark: #000000;
JSON
{
  "hex": "#798be8",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 232
  },
  "hsl": {
    "h": 230.27,
    "s": 70.701,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66368,
    "c": 0.13938,
    "h": 273.7
  },
  "luminance": 0.28356
}

Semantic roles & 50–950 ramp

primary
#798BE8
secondary
#EFE9CE
accent
#B413D3
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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