#798EFA#798EFA

#798EFA is a light, vivid blue. Relative luminance 0.303; OKLCH L 68.0% C 0.160 H 273.1°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#798EFA
RGBrgb(121, 142, 250)
HSLhsl(230, 93%, 73%)
HSVhsv(230, 52%, 98%)
CMYKcmyk(51.6%, 43.2%, 0%, 2%)
CIE-LABlab(61.92, 21.86, -56.39)
CIE-LCHlch(61.92, 60.48, 291.19°)
OKLaboklab(67.99% 0.0088 -0.1602)
OKLCHoklch(67.99% 0.16 273.1)
XYZxyz(34.8079, 30.3108, 94.4403)
Luminance0.3031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EFA #FAE579
analogous
#79CEFA #798EFA #A579FA
triadic
#798EFA #FA798E #8EFA79
tetradic
#798EFA #FA79CE #FAE579 #79FAA5
square
#798EFA #FA79CE #FAE579 #79FAA5
split-complementary
#798EFA #FAA579 #CEFA79
monochromatic
#092EF0 #3E5CF8 #798EFA #B4C0FC #E2E6FE

Accessibility & contrast

On white

2.97
#798EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#798EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #798EFA
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EFA#FFFFFF#000000##000000
##798EFA1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#609BFE
Deuteranopia (green-blind)
#5290F8
Tritanopia (blue-blind)
#3EA5B8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #798efa;
/* rgb */ color: rgb(121, 142, 250);
/* oklch */ color: oklch(68.0% 0.160 273.1);
Tailwind
colors: {
  custom: {
    50: '#a7aefc',
    500: '#798efa',
    950: '#000000',
  },
}
SCSS
$custom: #798efa;
$custom-light: #a7aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#798efa",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 230.233,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67986,
    "c": 0.1604,
    "h": 273.1
  },
  "luminance": 0.30313
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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