#798DF4#798DF4

#798DF4 is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.4% C 0.153 H 273.3°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#798DF4
RGBrgb(121, 141, 244)
HSLhsl(230, 85%, 72%)
HSVhsv(230, 50%, 96%)
CMYKcmyk(50.4%, 42.2%, 0%, 4.3%)
CIE-LABlab(61.35, 20.62, -54.00)
CIE-LCHlch(61.35, 57.81, 290.90°)
OKLaboklab(67.44% 0.0089 -0.1532)
OKLCHoklch(67.44% 0.153 273.3)
XYZxyz(33.7340, 29.6442, 89.5147)
Luminance0.2965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DF4 #F4E079
analogous
#79CBF4 #798DF4 #A379F4
triadic
#798DF4 #F4798D #8DF479
tetradic
#798DF4 #F479CB #F4E079 #79F4A3
square
#798DF4 #F479CB #F4E079 #79F4A3
split-complementary
#798DF4 #F4A379 #CBF479
monochromatic
#1234E0 #405DEF #798DF4 #B2BDF9 #E3E7FD

Accessibility & contrast

On white

3.03
#798DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#798DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DF4
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DF4#FFFFFF#000000##000000
##798DF41.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#639AF8
Deuteranopia (green-blind)
#568FF2
Tritanopia (blue-blind)
#44A3B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #798df4;
/* rgb */ color: rgb(121, 141, 244);
/* oklch */ color: oklch(67.4% 0.153 273.3);
Tailwind
colors: {
  custom: {
    50: '#a7aef8',
    500: '#798df4',
    950: '#000000',
  },
}
SCSS
$custom: #798df4;
$custom-light: #a7aef8;
$custom-dark: #000000;
JSON
{
  "hex": "#798df4",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 244
  },
  "hsl": {
    "h": 230.244,
    "s": 84.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67442,
    "c": 0.15345,
    "h": 273.3
  },
  "luminance": 0.29646
}

Semantic roles & 50–950 ramp

primary
#798DF4
secondary
#F4EFD5
accent
#BD04E1
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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