#798AF3#798AF3

#798AF3 is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.8% C 0.156 H 274.5°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#798AF3
RGBrgb(121, 138, 243)
HSLhsl(232, 84%, 71%)
HSVhsv(232, 50%, 95%)
CMYKcmyk(50.2%, 43.2%, 0%, 4.7%)
CIE-LABlab(60.53, 22.09, -54.76)
CIE-LCHlch(60.53, 59.05, 291.97°)
OKLaboklab(66.8% 0.0122 -0.1554)
OKLCHoklch(66.8% 0.156 274.5)
XYZxyz(33.1462, 28.7109, 88.5718)
Luminance0.2871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798AF3 #F3E279
analogous
#79C7F3 #798AF3 #A579F3
triadic
#798AF3 #F3798A #8AF379
tetradic
#798AF3 #F379C7 #F3E279 #79F3A5
square
#798AF3 #F379C7 #F3E279 #79F3A5
split-complementary
#798AF3 #F3A579 #C7F379
monochromatic
#1430DE #4159EE #798AF3 #B1BBF8 #E3E6FC

Accessibility & contrast

On white

3.11
#798AF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#798AF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798AF3
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798AF3#FFFFFF#000000##000000
##798AF31.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E97F7
Deuteranopia (green-blind)
#528DF1
Tritanopia (blue-blind)
#45A0B3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798af3;
/* rgb */ color: rgb(121, 138, 243);
/* oklch */ color: oklch(66.8% 0.156 274.5);
Tailwind
colors: {
  custom: {
    50: '#a7abf7',
    500: '#798af3',
    950: '#000000',
  },
}
SCSS
$custom: #798af3;
$custom-light: #a7abf7;
$custom-dark: #000000;
JSON
{
  "hex": "#798af3",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 243
  },
  "hsl": {
    "h": 231.639,
    "s": 83.562,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66798,
    "c": 0.15589,
    "h": 274.5
  },
  "luminance": 0.28713
}

Semantic roles & 50–950 ramp

primary
#798AF3
secondary
#F4EFD4
accent
#C206E0
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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