#798CFA#798CFA

#798CFA is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.6% C 0.163 H 273.9°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#798CFA
RGBrgb(121, 140, 250)
HSLhsl(231, 93%, 73%)
HSVhsv(231, 52%, 98%)
CMYKcmyk(51.6%, 44%, 0%, 2%)
CIE-LABlab(61.41, 23.04, -57.20)
CIE-LCHlch(61.41, 61.66, 291.94°)
OKLaboklab(67.6% 0.011 -0.1626)
OKLCHoklch(67.6% 0.163 273.9)
XYZxyz(34.5130, 29.7210, 94.3420)
Luminance0.2972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CFA #FAE779
analogous
#79CCFA #798CFA #A779FA
triadic
#798CFA #FA798C #8CFA79
tetradic
#798CFA #FA79CC #FAE779 #79FAA7
square
#798CFA #FA79CC #FAE779 #79FAA7
split-complementary
#798CFA #FAA779 #CCFA79
monochromatic
#092BF0 #3E59F8 #798CFA #B4BFFC #E2E6FE

Accessibility & contrast

On white

3.02
#798CFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#798CFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CFA
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CFA#FFFFFF#000000##000000
##798CFA1.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFE
Deuteranopia (green-blind)
#4F8FF8
Tritanopia (blue-blind)
#3FA4B7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #798cfa;
/* rgb */ color: rgb(121, 140, 250);
/* oklch */ color: oklch(67.6% 0.163 273.9);
Tailwind
colors: {
  custom: {
    50: '#a7adfc',
    500: '#798cfa',
    950: '#000000',
  },
}
SCSS
$custom: #798cfa;
$custom-light: #a7adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#798cfa",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 231.163,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67598,
    "c": 0.16293,
    "h": 273.9
  },
  "luminance": 0.29723
}

Semantic roles & 50–950 ramp

primary
#798CFA
secondary
#F6F1D5
accent
#C400E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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