#798BFE#798BFE

#798BFE is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.6% C 0.170 H 274.3°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#798BFE
RGBrgb(121, 139, 254)
HSLhsl(232, 99%, 74%)
HSVhsv(232, 52%, 100%)
CMYKcmyk(52.4%, 45.3%, 0%, 0.4%)
CIE-LABlab(61.38, 24.85, -59.45)
CIE-LCHlch(61.38, 64.43, 292.69°)
OKLaboklab(67.64% 0.0127 -0.1692)
OKLCHoklch(67.64% 0.17 274.3)
XYZxyz(35.0014, 29.6836, 97.6318)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BFE #FEEC79
analogous
#79CDFE #798BFE #A979FE
triadic
#798BFE #FE798B #8BFE79
tetradic
#798BFE #FE79CD #FEEC79 #79FEA9
square
#798BFE #FE79CD #FEEC79 #79FEA9
split-complementary
#798BFE #FEA979 #CDFE79
monochromatic
#0224FB #3C56FE #798BFE #B6C0FE #E1E5FF

Accessibility & contrast

On white

3.03
#798BFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#798BFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BFE
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BFE#FFFFFF#000000##000000
##798BFE1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#589AFF
Deuteranopia (green-blind)
#498FFC
Tritanopia (blue-blind)
#3BA4B8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #798bfe;
/* rgb */ color: rgb(121, 139, 254);
/* oklch */ color: oklch(67.6% 0.170 274.3);
Tailwind
colors: {
  custom: {
    50: '#a8acff',
    500: '#798bfe',
    950: '#000000',
  },
}
SCSS
$custom: #798bfe;
$custom-light: #a8acff;
$custom-dark: #000000;
JSON
{
  "hex": "#798bfe",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 254
  },
  "hsl": {
    "h": 231.88,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.67644,
    "c": 0.16963,
    "h": 274.3
  },
  "luminance": 0.29686
}

Semantic roles & 50–950 ramp

primary
#798BFE
secondary
#F7F2D4
accent
#C600E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #798BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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