#798AE4#798AE4

#798AE4 is a light, vivid blue. Relative luminance 0.278; OKLCH L 65.9% C 0.135 H 274.0°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#798AE4
RGBrgb(121, 138, 228)
HSLhsl(230, 66%, 68%)
HSVhsv(230, 47%, 89%)
CMYKcmyk(46.9%, 39.5%, 0%, 10.6%)
CIE-LABlab(59.75, 17.58, -47.69)
CIE-LCHlch(59.75, 50.83, 290.24°)
OKLaboklab(65.95% 0.0095 -0.1347)
OKLCHoklch(65.95% 0.135 274)
XYZxyz(30.9728, 27.8416, 77.1257)
Luminance0.2784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798AE4 #E4D379
analogous
#79BFE4 #798AE4 #9D79E4
triadic
#798AE4 #E4798A #8AE479
tetradic
#798AE4 #E479BF #E4D379 #79E49D
square
#798AE4 #E479BF #E4D379 #79E49D
split-complementary
#798AE4 #E49D79 #BFE479
monochromatic
#263EBD #465EDA #798AE4 #ACB6EE #DFE3F9

Accessibility & contrast

On white

3.20
#798AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#798AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798AE4
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798AE4#FFFFFF#000000##000000
##798AE41.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6895E8
Deuteranopia (green-blind)
#5E8CE2
Tritanopia (blue-blind)
#519DAC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #798ae4;
/* rgb */ color: rgb(121, 138, 228);
/* oklch */ color: oklch(65.9% 0.135 274.0);
Tailwind
colors: {
  custom: {
    50: '#a5abed',
    500: '#798ae4',
    950: '#000000',
  },
}
SCSS
$custom: #798ae4;
$custom-light: #a5abed;
$custom-dark: #000000;
JSON
{
  "hex": "#798ae4",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 228
  },
  "hsl": {
    "h": 230.467,
    "s": 66.46,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65947,
    "c": 0.13507,
    "h": 274
  },
  "luminance": 0.27843
}

Semantic roles & 50–950 ramp

primary
#798AE4
secondary
#ECE7CC
accent
#B117CE
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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