#798FF2#798FF2

#798FF2 is a light, vivid blue. Relative luminance 0.301; OKLCH L 67.7% C 0.148 H 272.4°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#798FF2
RGBrgb(121, 143, 242)
HSLhsl(229, 82%, 71%)
HSVhsv(229, 50%, 95%)
CMYKcmyk(50%, 40.9%, 0%, 5.1%)
CIE-LABlab(61.76, 18.84, -52.25)
CIE-LCHlch(61.76, 55.54, 289.82°)
OKLaboklab(67.72% 0.0063 -0.148)
OKLCHoklch(67.72% 0.148 272.4)
XYZxyz(33.7295, 30.1185, 88.0233)
Luminance0.3012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FF2 #F2DC79
analogous
#79CBF2 #798FF2 #9F79F2
triadic
#798FF2 #F2798F #8FF279
tetradic
#798FF2 #F279CB #F2DC79 #79F29F
square
#798FF2 #F279CB #F2DC79 #79F29F
split-complementary
#798FF2 #F29F79 #CBF279
monochromatic
#1539DB #4160ED #798FF2 #B1BEF7 #E3E8FC

Accessibility & contrast

On white

2.99
#798FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#798FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #798FF2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FF2#FFFFFF#000000##000000
##798FF21.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF6
Deuteranopia (green-blind)
#5B90F0
Tritanopia (blue-blind)
#45A4B5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #798ff2;
/* rgb */ color: rgb(121, 143, 242);
/* oklch */ color: oklch(67.7% 0.148 272.4);
Tailwind
colors: {
  custom: {
    50: '#a6aff7',
    500: '#798ff2',
    950: '#000000',
  },
}
SCSS
$custom: #798ff2;
$custom-light: #a6aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#798ff2",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 229.091,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67723,
    "c": 0.14817,
    "h": 272.4
  },
  "luminance": 0.30121
}

Semantic roles & 50–950 ramp

primary
#798FF2
secondary
#F3EED3
accent
#B707DF
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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