#798FFA#798FFA

#798FFA is a light, vivid blue. Relative luminance 0.306; OKLCH L 68.2% C 0.159 H 272.8°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#798FFA
RGBrgb(121, 143, 250)
HSLhsl(230, 93%, 73%)
HSVhsv(230, 52%, 98%)
CMYKcmyk(51.6%, 42.8%, 0%, 2%)
CIE-LABlab(62.18, 21.27, -55.98)
CIE-LCHlch(62.18, 59.88, 290.80°)
OKLaboklab(68.18% 0.0077 -0.159)
OKLCHoklch(68.18% 0.159 272.8)
XYZxyz(34.9574, 30.6097, 94.4901)
Luminance0.3061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FFA #FAE479
analogous
#79D0FA #798FFA #A379FA
triadic
#798FFA #FA798F #8FFA79
tetradic
#798FFA #FA79D0 #FAE479 #79FAA3
square
#798FFA #FA79D0 #FAE479 #79FAA3
split-complementary
#798FFA #FAA379 #D0FA79
monochromatic
#0930F0 #3E5EF8 #798FFA #B4C0FC #E2E6FE

Accessibility & contrast

On white

2.95
#798FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#798FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #798FFA
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FFA#FFFFFF#000000##000000
##798FFA1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFE
Deuteranopia (green-blind)
#5491F8
Tritanopia (blue-blind)
#3EA6B8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #798ffa;
/* rgb */ color: rgb(121, 143, 250);
/* oklch */ color: oklch(68.2% 0.159 272.8);
Tailwind
colors: {
  custom: {
    50: '#a7affc',
    500: '#798ffa',
    950: '#000000',
  },
}
SCSS
$custom: #798ffa;
$custom-light: #a7affc;
$custom-dark: #000000;
JSON
{
  "hex": "#798ffa",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 250
  },
  "hsl": {
    "h": 229.767,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68181,
    "c": 0.15914,
    "h": 272.8
  },
  "luminance": 0.30612
}

Semantic roles & 50–950 ramp

primary
#798FFA
secondary
#F6F0D5
accent
#BE00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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