#798AF8#798AF8

#798AF8 is a light, vivid blue. Relative luminance 0.290; OKLCH L 67.1% C 0.163 H 274.5°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#798AF8
RGBrgb(121, 138, 248)
HSLhsl(232, 90%, 72%)
HSVhsv(232, 51%, 97%)
CMYKcmyk(51.2%, 44.4%, 0%, 2.7%)
CIE-LABlab(60.80, 23.61, -57.08)
CIE-LCHlch(60.80, 61.77, 292.47°)
OKLaboklab(67.09% 0.0129 -0.1622)
OKLCHoklch(67.09% 0.163 274.5)
XYZxyz(33.9115, 29.0170, 92.6026)
Luminance0.2902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798AF8 #F8E779
analogous
#79C9F8 #798AF8 #A879F8
triadic
#798AF8 #F8798A #8AF879
tetradic
#798AF8 #F879C9 #F8E779 #79F8A8
square
#798AF8 #F879C9 #F8E779 #79F8A8
split-complementary
#798AF8 #F8A879 #C9F879
monochromatic
#0C2AEA #3F57F5 #798AF8 #B3BDFB #E2E6FD

Accessibility & contrast

On white

3.09
#798AF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#798AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798AF8
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798AF8#FFFFFF#000000##000000
##798AF81.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FC
Deuteranopia (green-blind)
#4D8EF6
Tritanopia (blue-blind)
#41A2B5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #798af8;
/* rgb */ color: rgb(121, 138, 248);
/* oklch */ color: oklch(67.1% 0.163 274.5);
Tailwind
colors: {
  custom: {
    50: '#a7abfb',
    500: '#798af8',
    950: '#000000',
  },
}
SCSS
$custom: #798af8;
$custom-light: #a7abfb;
$custom-dark: #000000;
JSON
{
  "hex": "#798af8",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 248
  },
  "hsl": {
    "h": 231.969,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67093,
    "c": 0.16274,
    "h": 274.5
  },
  "luminance": 0.29019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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