#798CF0#798CF0

#798CF0 is a light, vivid blue. Relative luminance 0.291; OKLCH L 67.0% C 0.149 H 273.6°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#798CF0
RGBrgb(121, 140, 240)
HSLhsl(230, 80%, 71%)
HSVhsv(230, 50%, 94%)
CMYKcmyk(49.6%, 41.7%, 0%, 5.9%)
CIE-LABlab(60.88, 20.00, -52.54)
CIE-LCHlch(60.88, 56.22, 290.84°)
OKLaboklab(67.02% 0.0094 -0.1489)
OKLCHoklch(67.02% 0.149 273.6)
XYZxyz(32.9864, 29.1103, 86.3019)
Luminance0.2911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CF0 #F0DD79
analogous
#79C7F0 #798CF0 #A179F0
triadic
#798CF0 #F0798C #8CF079
tetradic
#798CF0 #F079C7 #F0DD79 #79F0A1
square
#798CF0 #F079C7 #F0DD79 #79F0A1
split-complementary
#798CF0 #F0A179 #C7F079
monochromatic
#1836D7 #425DEA #798CF0 #B0BBF6 #E3E7FC

Accessibility & contrast

On white

3.08
#798CF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#798CF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CF0
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CF0#FFFFFF#000000##000000
##798CF01.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6498F4
Deuteranopia (green-blind)
#588EEE
Tritanopia (blue-blind)
#48A1B2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #798cf0;
/* rgb */ color: rgb(121, 140, 240);
/* oklch */ color: oklch(67.0% 0.149 273.6);
Tailwind
colors: {
  custom: {
    50: '#a6adf5',
    500: '#798cf0',
    950: '#000000',
  },
}
SCSS
$custom: #798cf0;
$custom-light: #a6adf5;
$custom-dark: #000000;
JSON
{
  "hex": "#798cf0",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 240
  },
  "hsl": {
    "h": 230.42,
    "s": 79.866,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67017,
    "c": 0.14921,
    "h": 273.6
  },
  "luminance": 0.29112
}

Semantic roles & 50–950 ramp

primary
#798CF0
secondary
#F2EDD2
accent
#BB09DC
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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