#798BF8#798BF8

#798BF8 is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.3% C 0.161 H 274.2°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#798BF8
RGBrgb(121, 139, 248)
HSLhsl(231, 90%, 72%)
HSVhsv(231, 51%, 97%)
CMYKcmyk(51.2%, 44%, 0%, 2.7%)
CIE-LABlab(61.05, 23.02, -56.68)
CIE-LCHlch(61.05, 61.17, 292.10°)
OKLaboklab(67.29% 0.0118 -0.161)
OKLCHoklch(67.29% 0.161 274.2)
XYZxyz(34.0556, 29.3053, 92.6507)
Luminance0.2931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BF8 #F8E679
analogous
#79CBF8 #798BF8 #A779F8
triadic
#798BF8 #F8798B #8BF879
tetradic
#798BF8 #F879CB #F8E679 #79F8A7
square
#798BF8 #F879CB #F8E679 #79F8A7
split-complementary
#798BF8 #F8A779 #CBF879
monochromatic
#0C2CEA #3F59F5 #798BF8 #B3BDFB #E2E6FD

Accessibility & contrast

On white

3.06
#798BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#798BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BF8
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BF8#FFFFFF#000000##000000
##798BF81.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D99FC
Deuteranopia (green-blind)
#4F8EF6
Tritanopia (blue-blind)
#41A3B5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #798bf8;
/* rgb */ color: rgb(121, 139, 248);
/* oklch */ color: oklch(67.3% 0.161 274.2);
Tailwind
colors: {
  custom: {
    50: '#a7acfb',
    500: '#798bf8',
    950: '#000000',
  },
}
SCSS
$custom: #798bf8;
$custom-light: #a7acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#798bf8",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 231.496,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67286,
    "c": 0.16147,
    "h": 274.2
  },
  "luminance": 0.29307
}

Semantic roles & 50–950 ramp

primary
#798BF8
secondary
#F6F1D5
accent
#C500E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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