#798DF5#798DF5

#798DF5 is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.5% C 0.155 H 273.4°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#798DF5
RGBrgb(121, 141, 245)
HSLhsl(230, 86%, 72%)
HSVhsv(230, 51%, 96%)
CMYKcmyk(50.6%, 42.4%, 0%, 3.9%)
CIE-LABlab(61.40, 20.92, -54.47)
CIE-LCHlch(61.40, 58.35, 291.01°)
OKLaboklab(67.5% 0.0091 -0.1545)
OKLCHoklch(67.5% 0.155 273.4)
XYZxyz(33.8862, 29.7051, 90.3166)
Luminance0.2971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DF5 #F5E179
analogous
#79CBF5 #798DF5 #A379F5
triadic
#798DF5 #F5798D #8DF579
tetradic
#798DF5 #F579CB #F5E179 #79F5A3
square
#798DF5 #F579CB #F5E179 #79F5A3
split-complementary
#798DF5 #F5A379 #CBF579
monochromatic
#1133E3 #405DF1 #798DF5 #B2BDF9 #E3E7FD

Accessibility & contrast

On white

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

On black

6.94
#798DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DF5
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DF5#FFFFFF#000000##000000
##798DF51.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#629AF9
Deuteranopia (green-blind)
#558FF3
Tritanopia (blue-blind)
#43A3B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #798df5;
/* rgb */ color: rgb(121, 141, 245);
/* oklch */ color: oklch(67.5% 0.155 273.4);
Tailwind
colors: {
  custom: {
    50: '#a7aef9',
    500: '#798df5',
    950: '#000000',
  },
}
SCSS
$custom: #798df5;
$custom-light: #a7aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#798df5",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 245
  },
  "hsl": {
    "h": 230.323,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.675,
    "c": 0.15482,
    "h": 273.4
  },
  "luminance": 0.29707
}

Semantic roles & 50–950 ramp

primary
#798DF5
secondary
#F5F0D5
accent
#BF03E3
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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