#798BF0#798BF0

#798BF0 is a light, vivid blue. Relative luminance 0.288; OKLCH L 66.8% C 0.150 H 274.0°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#798BF0
RGBrgb(121, 139, 240)
HSLhsl(231, 80%, 71%)
HSVhsv(231, 50%, 94%)
CMYKcmyk(49.6%, 42.1%, 0%, 5.9%)
CIE-LABlab(60.62, 20.59, -52.95)
CIE-LCHlch(60.62, 56.81, 291.25°)
OKLaboklab(66.82% 0.0105 -0.1501)
OKLCHoklch(66.82% 0.15 274)
XYZxyz(32.8410, 28.8194, 86.2534)
Luminance0.2882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BF0 #F0DE79
analogous
#79C7F0 #798BF0 #A279F0
triadic
#798BF0 #F0798B #8BF079
tetradic
#798BF0 #F079C7 #F0DE79 #79F0A2
square
#798BF0 #F079C7 #F0DE79 #79F0A2
split-complementary
#798BF0 #F0A279 #C7F079
monochromatic
#1835D7 #425BEA #798BF0 #B0BBF6 #E3E7FC

Accessibility & contrast

On white

3.10
#798BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#798BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BF0
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BF0#FFFFFF#000000##000000
##798BF01.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F4
Deuteranopia (green-blind)
#568EEE
Tritanopia (blue-blind)
#48A0B2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798bf0;
/* rgb */ color: rgb(121, 139, 240);
/* oklch */ color: oklch(66.8% 0.150 274.0);
Tailwind
colors: {
  custom: {
    50: '#a6acf5',
    500: '#798bf0',
    950: '#000000',
  },
}
SCSS
$custom: #798bf0;
$custom-light: #a6acf5;
$custom-dark: #000000;
JSON
{
  "hex": "#798bf0",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 240
  },
  "hsl": {
    "h": 230.924,
    "s": 79.866,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6682,
    "c": 0.15048,
    "h": 274
  },
  "luminance": 0.28821
}

Semantic roles & 50–950 ramp

primary
#798BF0
secondary
#F2EED2
accent
#BC09DC
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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