#798FFD#798FFD

#798FFD is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.4% C 0.163 H 272.9°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#798FFD
RGBrgb(121, 143, 253)
HSLhsl(230, 97%, 73%)
HSVhsv(230, 52%, 99%)
CMYKcmyk(52.2%, 43.5%, 0%, 0.8%)
CIE-LABlab(62.34, 22.19, -57.37)
CIE-LCHlch(62.34, 61.51, 291.14°)
OKLaboklab(68.36% 0.0081 -0.163)
OKLCHoklch(68.36% 0.163 272.9)
XYZxyz(35.4315, 30.7993, 96.9873)
Luminance0.3080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FFD #FDE779
analogous
#79D1FD #798FFD #A579FD
triadic
#798FFD #FD798F #8FFD79
tetradic
#798FFD #FD79D1 #FDE779 #79FDA5
square
#798FFD #FD79D1 #FDE779 #79FDA5
split-complementary
#798FFD #FDA579 #D1FD79
monochromatic
#042CF8 #3D5DFC #798FFD #B5C1FE #E1E6FF

Accessibility & contrast

On white

2.93
#798FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#798FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #798FFD
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FFD#FFFFFF#000000##000000
##798FFD1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#5191FB
Tritanopia (blue-blind)
#3BA7BA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #798ffd;
/* rgb */ color: rgb(121, 143, 253);
/* oklch */ color: oklch(68.4% 0.163 272.9);
Tailwind
colors: {
  custom: {
    50: '#a8affe',
    500: '#798ffd',
    950: '#000000',
  },
}
SCSS
$custom: #798ffd;
$custom-light: #a8affe;
$custom-dark: #000000;
JSON
{
  "hex": "#798ffd",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 253
  },
  "hsl": {
    "h": 230,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68357,
    "c": 0.16323,
    "h": 272.9
  },
  "luminance": 0.30802
}

Semantic roles & 50–950 ramp

primary
#798FFD
secondary
#F7F1D4
accent
#BF00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #798FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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