#798AEF#798AEF

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

Color values

HEX#798AEF
RGBrgb(121, 138, 239)
HSLhsl(231, 79%, 71%)
HSVhsv(231, 49%, 94%)
CMYKcmyk(49.4%, 42.3%, 0%, 6.3%)
CIE-LABlab(60.31, 20.88, -52.89)
CIE-LCHlch(60.31, 56.86, 291.54°)
OKLaboklab(66.57% 0.0115 -0.1499)
OKLCHoklch(66.57% 0.15 274.4)
XYZxyz(32.5487, 28.4719, 85.4251)
Luminance0.2847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798AEF #EFDE79
analogous
#79C5EF #798AEF #A379EF
triadic
#798AEF #EF798A #8AEF79
tetradic
#798AEF #EF79C5 #EFDE79 #79EFA3
square
#798AEF #EF79C5 #EFDE79 #79EFA3
split-complementary
#798AEF #EFA379 #C5EF79
monochromatic
#1934D4 #425AE8 #798AEF #B0BAF6 #E4E7FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798AEF#FFFFFF#000000##000000
##798AEF1.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)
#6197F3
Deuteranopia (green-blind)
#568DED
Tritanopia (blue-blind)
#499FB1
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #798aef;
/* rgb */ color: rgb(121, 138, 239);
/* oklch */ color: oklch(66.6% 0.150 274.4);
Tailwind
colors: {
  custom: {
    50: '#a6abf5',
    500: '#798aef',
    950: '#000000',
  },
}
SCSS
$custom: #798aef;
$custom-light: #a6abf5;
$custom-dark: #000000;
JSON
{
  "hex": "#798aef",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 231.356,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66567,
    "c": 0.15038,
    "h": 274.4
  },
  "luminance": 0.28474
}

Semantic roles & 50–950 ramp

primary
#798AEF
secondary
#F2EDD2
accent
#BD0BDB
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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