#798CF3#798CF3

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

Color values

HEX#798CF3
RGBrgb(121, 140, 243)
HSLhsl(231, 84%, 71%)
HSVhsv(231, 50%, 95%)
CMYKcmyk(50.2%, 42.4%, 0%, 4.7%)
CIE-LABlab(61.04, 20.91, -53.94)
CIE-LCHlch(61.04, 57.85, 291.18°)
OKLaboklab(67.19% 0.0099 -0.153)
OKLCHoklch(67.19% 0.153 273.7)
XYZxyz(33.4358, 29.2901, 88.6683)
Luminance0.2929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CF3 #F3E079
analogous
#79C9F3 #798CF3 #A379F3
triadic
#798CF3 #F3798C #8CF379
tetradic
#798CF3 #F379C9 #F3E079 #79F3A3
square
#798CF3 #F379C9 #F3E079 #79F3A3
split-complementary
#798CF3 #F3A379 #C9F379
monochromatic
#1433DE #415CEE #798CF3 #B1BCF8 #E3E7FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798CF3#FFFFFF#000000##000000
##798CF31.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)
#6299F7
Deuteranopia (green-blind)
#558EF1
Tritanopia (blue-blind)
#45A2B4
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #798cf3;
/* rgb */ color: rgb(121, 140, 243);
/* oklch */ color: oklch(67.2% 0.153 273.7);
Tailwind
colors: {
  custom: {
    50: '#a7adf7',
    500: '#798cf3',
    950: '#000000',
  },
}
SCSS
$custom: #798cf3;
$custom-light: #a7adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#798cf3",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 243
  },
  "hsl": {
    "h": 230.656,
    "s": 83.562,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67189,
    "c": 0.15334,
    "h": 273.7
  },
  "luminance": 0.29292
}

Semantic roles & 50–950 ramp

primary
#798CF3
secondary
#F4EFD4
accent
#BE06E0
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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