#798FE6#798FE6

#798FE6 is a light, vivid blue. Relative luminance 0.294; OKLCH L 67.1% C 0.132 H 271.7°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#798FE6
RGBrgb(121, 143, 230)
HSLhsl(228, 69%, 69%)
HSVhsv(228, 47%, 90%)
CMYKcmyk(47.4%, 37.8%, 0%, 9.8%)
CIE-LABlab(61.15, 15.24, -46.58)
CIE-LCHlch(61.15, 49.00, 288.11°)
OKLaboklab(67.06% 0.004 -0.1315)
OKLCHoklch(67.06% 0.132 271.7)
XYZxyz(31.9860, 29.4211, 78.8410)
Luminance0.2942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FE6 #E6D079
analogous
#79C6E6 #798FE6 #9A79E6
triadic
#798FE6 #E6798F #8FE679
tetradic
#798FE6 #E679C6 #E6D079 #79E69A
square
#798FE6 #E679C6 #E6D079 #79E69A
split-complementary
#798FE6 #E69A79 #C6E679
monochromatic
#2444C1 #4564DC #798FE6 #ADBAF0 #E0E5F9

Accessibility & contrast

On white

3.05
#798FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#798FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FE6
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FE6#FFFFFF#000000##000000
##798FE61.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E99E9
Deuteranopia (green-blind)
#648FE4
Tritanopia (blue-blind)
#4FA1AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #798fe6;
/* rgb */ color: rgb(121, 143, 230);
/* oklch */ color: oklch(67.1% 0.132 271.7);
Tailwind
colors: {
  custom: {
    50: '#a5afee',
    500: '#798fe6',
    950: '#000000',
  },
}
SCSS
$custom: #798fe6;
$custom-light: #a5afee;
$custom-dark: #000000;
JSON
{
  "hex": "#798fe6",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 230
  },
  "hsl": {
    "h": 227.89,
    "s": 68.553,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67061,
    "c": 0.13152,
    "h": 271.7
  },
  "luminance": 0.29423
}

Semantic roles & 50–950 ramp

primary
#798FE6
secondary
#EEE7CD
accent
#AB15D0
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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