#798CEE#798CEE

#798CEE is a light, vivid blue. Relative luminance 0.290; OKLCH L 66.9% C 0.146 H 273.5°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#798CEE
RGBrgb(121, 140, 238)
HSLhsl(230, 77%, 70%)
HSVhsv(230, 49%, 93%)
CMYKcmyk(49.2%, 41.2%, 0%, 6.7%)
CIE-LABlab(60.77, 19.40, -51.60)
CIE-LCHlch(60.77, 55.13, 290.60°)
OKLaboklab(66.9% 0.009 -0.1462)
OKLCHoklch(66.9% 0.146 273.5)
XYZxyz(32.6910, 28.9922, 84.7458)
Luminance0.2899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CEE #EEDB79
analogous
#79C7EE #798CEE #A079EE
triadic
#798CEE #EE798C #8CEE79
tetradic
#798CEE #EE79C7 #EEDB79 #79EEA0
square
#798CEE #EE79C7 #EEDB79 #79EEA0
split-complementary
#798CEE #EEA079 #C7EE79
monochromatic
#1B38D2 #435DE7 #798CEE #AFBBF5 #E4E8FC

Accessibility & contrast

On white

3.09
#798CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#798CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CEE
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CEE#FFFFFF#000000##000000
##798CEE1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6598F2
Deuteranopia (green-blind)
#598EEC
Tritanopia (blue-blind)
#49A1B1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #798cee;
/* rgb */ color: rgb(121, 140, 238);
/* oklch */ color: oklch(66.9% 0.146 273.5);
Tailwind
colors: {
  custom: {
    50: '#a6adf4',
    500: '#798cee',
    950: '#000000',
  },
}
SCSS
$custom: #798cee;
$custom-light: #a6adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#798cee",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 238
  },
  "hsl": {
    "h": 230.256,
    "s": 77.483,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66903,
    "c": 0.14644,
    "h": 273.5
  },
  "luminance": 0.28994
}

Semantic roles & 50–950 ramp

primary
#798CEE
secondary
#F1ECD1
accent
#B80CDA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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