#798BEE#798BEE

#798BEE is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.7% C 0.148 H 274.0°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#798BEE
RGBrgb(121, 139, 238)
HSLhsl(231, 77%, 70%)
HSVhsv(231, 49%, 93%)
CMYKcmyk(49.2%, 41.6%, 0%, 6.7%)
CIE-LABlab(60.52, 19.99, -52.01)
CIE-LCHlch(60.52, 55.72, 291.02°)
OKLaboklab(66.71% 0.0102 -0.1474)
OKLCHoklch(66.71% 0.148 274)
XYZxyz(32.5455, 28.7013, 84.6973)
Luminance0.2870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BEE #EEDC79
analogous
#79C6EE #798BEE #A179EE
triadic
#798BEE #EE798B #8BEE79
tetradic
#798BEE #EE79C6 #EEDC79 #79EEA1
square
#798BEE #EE79C6 #EEDC79 #79EEA1
split-complementary
#798BEE #EEA179 #C6EE79
monochromatic
#1B37D2 #435CE7 #798BEE #AFBAF5 #E4E7FC

Accessibility & contrast

On white

3.12
#798BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#798BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BEE
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BEE#FFFFFF#000000##000000
##798BEE1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F2
Deuteranopia (green-blind)
#588DEC
Tritanopia (blue-blind)
#49A0B1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798bee;
/* rgb */ color: rgb(121, 139, 238);
/* oklch */ color: oklch(66.7% 0.148 274.0);
Tailwind
colors: {
  custom: {
    50: '#a6acf4',
    500: '#798bee',
    950: '#000000',
  },
}
SCSS
$custom: #798bee;
$custom-light: #a6acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#798bee",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 238
  },
  "hsl": {
    "h": 230.769,
    "s": 77.483,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66706,
    "c": 0.14771,
    "h": 274
  },
  "luminance": 0.28703
}

Semantic roles & 50–950 ramp

primary
#798BEE
secondary
#F1EDD1
accent
#BA0CDA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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