#798DE8#798DE8

#798DE8 is a light, vivid blue. Relative luminance 0.289; OKLCH L 66.8% C 0.137 H 272.8°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#798DE8
RGBrgb(121, 141, 232)
HSLhsl(229, 71%, 69%)
HSVhsv(229, 48%, 91%)
CMYKcmyk(47.8%, 39.2%, 0%, 9%)
CIE-LABlab(60.73, 17.01, -48.35)
CIE-LCHlch(60.73, 51.26, 289.38°)
OKLaboklab(66.77% 0.0067 -0.1367)
OKLCHoklch(66.77% 0.137 272.8)
XYZxyz(31.9709, 28.9390, 80.2294)
Luminance0.2894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DE8 #E8D479
analogous
#79C5E8 #798DE8 #9D79E8
triadic
#798DE8 #E8798D #8DE879
tetradic
#798DE8 #E879C5 #E8D479 #79E89D
square
#798DE8 #E879C5 #E8D479 #79E89D
split-complementary
#798DE8 #E89D79 #C5E879
monochromatic
#223FC5 #4561DF #798DE8 #ADB9F1 #E1E6FA

Accessibility & contrast

On white

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

On black

6.79
#798DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DE8
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DE8#FFFFFF#000000##000000
##798DE81.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A97EC
Deuteranopia (green-blind)
#5F8EE6
Tritanopia (blue-blind)
#4EA0AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798de8;
/* rgb */ color: rgb(121, 141, 232);
/* oklch */ color: oklch(66.8% 0.137 272.8);
Tailwind
colors: {
  custom: {
    50: '#a5aef0',
    500: '#798de8',
    950: '#000000',
  },
}
SCSS
$custom: #798de8;
$custom-light: #a5aef0;
$custom-dark: #000000;
JSON
{
  "hex": "#798de8",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 232
  },
  "hsl": {
    "h": 229.189,
    "s": 70.701,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66767,
    "c": 0.13683,
    "h": 272.8
  },
  "luminance": 0.28941
}

Semantic roles & 50–950 ramp

primary
#798DE8
secondary
#EFE9CE
accent
#B013D3
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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