#798CFB#798CFB

#798CFB is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.7% C 0.164 H 273.9°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#798CFB
RGBrgb(121, 140, 251)
HSLhsl(231, 94%, 73%)
HSVhsv(231, 52%, 98%)
CMYKcmyk(51.8%, 44.2%, 0%, 1.6%)
CIE-LABlab(61.47, 23.34, -57.66)
CIE-LCHlch(61.47, 62.21, 292.04°)
OKLaboklab(67.66% 0.0111 -0.1639)
OKLCHoklch(67.66% 0.164 273.9)
XYZxyz(34.6702, 29.7839, 95.1700)
Luminance0.2979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CFB #FBE879
analogous
#79CDFB #798CFB #A779FB
triadic
#798CFB #FB798C #8CFB79
tetradic
#798CFB #FB79CD #FBE879 #79FBA7
square
#798CFB #FB79CD #FBE879 #79FBA7
split-complementary
#798CFB #FBA779 #CDFB79
monochromatic
#072AF2 #3E59F9 #798CFB #B4BFFD #E1E5FE

Accessibility & contrast

On white

3.02
#798CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#798CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CFB
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CFB#FFFFFF#000000##000000
##798CFB1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9AFF
Deuteranopia (green-blind)
#4E8FF9
Tritanopia (blue-blind)
#3EA4B7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #798cfb;
/* rgb */ color: rgb(121, 140, 251);
/* oklch */ color: oklch(67.7% 0.164 273.9);
Tailwind
colors: {
  custom: {
    50: '#a7adfd',
    500: '#798cfb',
    950: '#000000',
  },
}
SCSS
$custom: #798cfb;
$custom-light: #a7adfd;
$custom-dark: #000000;
JSON
{
  "hex": "#798cfb",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 231.231,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67657,
    "c": 0.16429,
    "h": 273.9
  },
  "luminance": 0.29786
}

Semantic roles & 50–950 ramp

primary
#798CFB
secondary
#F6F1D5
accent
#C400E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #798CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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