#798BFA#798BFA

#798BFA is a light, vivid blue. Relative luminance 0.294; OKLCH L 67.4% C 0.164 H 274.2°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#798BFA
RGBrgb(121, 139, 250)
HSLhsl(232, 93%, 73%)
HSVhsv(232, 52%, 98%)
CMYKcmyk(51.6%, 44.4%, 0%, 2%)
CIE-LABlab(61.16, 23.63, -57.60)
CIE-LCHlch(61.16, 62.26, 292.30°)
OKLaboklab(67.41% 0.0121 -0.1637)
OKLCHoklch(67.41% 0.164 274.2)
XYZxyz(34.3676, 29.4301, 94.2935)
Luminance0.2943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BFA #FAE879
analogous
#79CBFA #798BFA #A779FA
triadic
#798BFA #FA798B #8BFA79
tetradic
#798BFA #FA79CB #FAE879 #79FAA7
square
#798BFA #FA79CB #FAE879 #79FAA7
split-complementary
#798BFA #FAA779 #CBFA79
monochromatic
#0929F0 #3E58F8 #798BFA #B4BEFC #E2E5FE

Accessibility & contrast

On white

3.05
#798BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#798BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BFA
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BFA#FFFFFF#000000##000000
##798BFA1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B99FE
Deuteranopia (green-blind)
#4D8EF8
Tritanopia (blue-blind)
#3FA3B6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #798bfa;
/* rgb */ color: rgb(121, 139, 250);
/* oklch */ color: oklch(67.4% 0.164 274.2);
Tailwind
colors: {
  custom: {
    50: '#a7acfc',
    500: '#798bfa',
    950: '#000000',
  },
}
SCSS
$custom: #798bfa;
$custom-light: #a7acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#798bfa",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 231.628,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67405,
    "c": 0.1642,
    "h": 274.2
  },
  "luminance": 0.29432
}

Semantic roles & 50–950 ramp

primary
#798BFA
secondary
#F6F1D5
accent
#C500E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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