#798BEA#798BEA

#798BEA is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.5% C 0.142 H 273.8°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#798BEA
RGBrgb(121, 139, 234)
HSLhsl(230, 73%, 70%)
HSVhsv(230, 48%, 92%)
CMYKcmyk(48.3%, 40.6%, 0%, 8.2%)
CIE-LABlab(60.31, 18.78, -50.12)
CIE-LCHlch(60.31, 53.53, 290.54°)
OKLaboklab(66.48% 0.0095 -0.1418)
OKLCHoklch(66.48% 0.142 273.8)
XYZxyz(31.9644, 28.4688, 81.6367)
Luminance0.2847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BEA #EAD879
analogous
#79C4EA #798BEA #9F79EA
triadic
#798BEA #EA798B #8BEA79
tetradic
#798BEA #EA79C4 #EAD879 #79EA9F
square
#798BEA #EA79C4 #EAD879 #79EA9F
split-complementary
#798BEA #EA9F79 #C4EA79
monochromatic
#203BC9 #445DE2 #798BEA #AEB9F2 #E3E7FB

Accessibility & contrast

On white

3.14
#798BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#798BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BEA
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BEA#FFFFFF#000000##000000
##798BEA1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6696EE
Deuteranopia (green-blind)
#5B8DE8
Tritanopia (blue-blind)
#4C9FAF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #798bea;
/* rgb */ color: rgb(121, 139, 234);
/* oklch */ color: oklch(66.5% 0.142 273.8);
Tailwind
colors: {
  custom: {
    50: '#a6acf1',
    500: '#798bea',
    950: '#000000',
  },
}
SCSS
$custom: #798bea;
$custom-light: #a6acf1;
$custom-dark: #000000;
JSON
{
  "hex": "#798bea",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 234
  },
  "hsl": {
    "h": 230.442,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6648,
    "c": 0.14217,
    "h": 273.8
  },
  "luminance": 0.28471
}

Semantic roles & 50–950 ramp

primary
#798BEA
secondary
#F0EACF
accent
#B611D5
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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