#798CF4#798CF4

#798CF4 is a light, vivid blue. Relative luminance 0.294; OKLCH L 67.2% C 0.155 H 273.7°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#798CF4
RGBrgb(121, 140, 244)
HSLhsl(231, 85%, 72%)
HSVhsv(231, 50%, 96%)
CMYKcmyk(50.4%, 42.6%, 0%, 4.3%)
CIE-LABlab(61.09, 21.21, -54.41)
CIE-LCHlch(61.09, 58.40, 291.30°)
OKLaboklab(67.25% 0.0101 -0.1544)
OKLCHoklch(67.25% 0.155 273.7)
XYZxyz(33.5872, 29.3506, 89.4658)
Luminance0.2935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CF4 #F4E179
analogous
#79CAF4 #798CF4 #A479F4
triadic
#798CF4 #F4798C #8CF479
tetradic
#798CF4 #F479CA #F4E179 #79F4A4
square
#798CF4 #F479CA #F4E179 #79F4A4
split-complementary
#798CF4 #F4A479 #CAF479
monochromatic
#1232E0 #405BEF #798CF4 #B2BDF9 #E3E7FD

Accessibility & contrast

On white

3.06
#798CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#798CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CF4
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CF4#FFFFFF#000000##000000
##798CF41.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6199F8
Deuteranopia (green-blind)
#548FF2
Tritanopia (blue-blind)
#44A2B4
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #798cf4;
/* rgb */ color: rgb(121, 140, 244);
/* oklch */ color: oklch(67.2% 0.155 273.7);
Tailwind
colors: {
  custom: {
    50: '#a7adf8',
    500: '#798cf4',
    950: '#000000',
  },
}
SCSS
$custom: #798cf4;
$custom-light: #a7adf8;
$custom-dark: #000000;
JSON
{
  "hex": "#798cf4",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 244
  },
  "hsl": {
    "h": 230.732,
    "s": 84.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67247,
    "c": 0.15472,
    "h": 273.7
  },
  "luminance": 0.29353
}

Semantic roles & 50–950 ramp

primary
#798CF4
secondary
#F4EFD5
accent
#BF04E1
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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