#798BE2#798BE2

#798BE2 is a light, vivid blue. Relative luminance 0.280; OKLCH L 66.0% C 0.131 H 273.5°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#798BE2
RGBrgb(121, 139, 226)
HSLhsl(230, 64%, 68%)
HSVhsv(230, 46%, 89%)
CMYKcmyk(46.5%, 38.5%, 0%, 11.4%)
CIE-LABlab(59.91, 16.40, -46.32)
CIE-LCHlch(59.91, 49.14, 289.50°)
OKLaboklab(66.04% 0.0079 -0.1307)
OKLCHoklch(66.04% 0.131 273.5)
XYZxyz(30.8410, 28.0194, 75.7200)
Luminance0.2802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BE2 #E2D079
analogous
#79C0E2 #798BE2 #9B79E2
triadic
#798BE2 #E2798B #8BE279
tetradic
#798BE2 #E279C0 #E2D079 #79E29B
square
#798BE2 #E279C0 #E2D079 #79E29B
split-complementary
#798BE2 #E29B79 #C0E279
monochromatic
#2841B9 #475FD7 #798BE2 #ABB7ED #DEE2F8

Accessibility & contrast

On white

3.18
#798BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#798BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BE2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BE2#FFFFFF#000000##000000
##798BE21.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A95E5
Deuteranopia (green-blind)
#618CE0
Tritanopia (blue-blind)
#529DAC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #798be2;
/* rgb */ color: rgb(121, 139, 226);
/* oklch */ color: oklch(66.0% 0.131 273.5);
Tailwind
colors: {
  custom: {
    50: '#a5aceb',
    500: '#798be2',
    950: '#000000',
  },
}
SCSS
$custom: #798be2;
$custom-light: #a5aceb;
$custom-dark: #000000;
JSON
{
  "hex": "#798be2",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 226
  },
  "hsl": {
    "h": 229.714,
    "s": 64.417,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66038,
    "c": 0.13098,
    "h": 273.5
  },
  "luminance": 0.28021
}

Semantic roles & 50–950 ramp

primary
#798BE2
secondary
#EBE6CB
accent
#AE19CC
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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