#798CFF#798CFF

#798CFF is a light, vivid blue. Relative luminance 0.300; OKLCH L 67.9% C 0.170 H 274.0°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#798CFF
RGBrgb(121, 140, 255)
HSLhsl(231, 100%, 74%)
HSVhsv(231, 53%, 100%)
CMYKcmyk(52.5%, 45.1%, 0%, 0%)
CIE-LABlab(61.69, 24.57, -59.50)
CIE-LCHlch(61.69, 64.37, 292.44°)
OKLaboklab(67.9% 0.0117 -0.1693)
OKLCHoklch(67.9% 0.17 274)
XYZxyz(35.3074, 30.0388, 98.5259)
Luminance0.3004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CFF #FFEC79
analogous
#79CFFF #798CFF #A979FF
triadic
#798CFF #FF798C #8CFF79
tetradic
#798CFF #FF79CF #FFEC79 #79FFA9
square
#798CFF #FF79CF #FFEC79 #79FFA9
split-complementary
#798CFF #FFA979 #CFFF79
monochromatic
#0024FE #3C57FF #798CFF #B6C1FF #E0E5FF

Accessibility & contrast

On white

3.00
#798CFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#798CFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #798CFF
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CFF#FFFFFF#000000##000000
##798CFF1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#599BFF
Deuteranopia (green-blind)
#4A90FD
Tritanopia (blue-blind)
#39A5B9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #798cff;
/* rgb */ color: rgb(121, 140, 255);
/* oklch */ color: oklch(67.9% 0.170 274.0);
Tailwind
colors: {
  custom: {
    50: '#a8adff',
    500: '#798cff',
    950: '#000000',
  },
}
SCSS
$custom: #798cff;
$custom-light: #a8adff;
$custom-dark: #000000;
JSON
{
  "hex": "#798cff",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 255
  },
  "hsl": {
    "h": 231.493,
    "s": 100,
    "l": 73.725
  },
  "oklch": {
    "l": 0.67896,
    "c": 0.16972,
    "h": 274
  },
  "luminance": 0.30041
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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