#798EE6#798EE6

#798EE6 is a light, vivid blue. Relative luminance 0.291; OKLCH L 66.9% C 0.133 H 272.2°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#798EE6
RGBrgb(121, 142, 230)
HSLhsl(228, 69%, 69%)
HSVhsv(228, 47%, 90%)
CMYKcmyk(47.4%, 38.3%, 0%, 9.8%)
CIE-LABlab(60.89, 15.82, -46.99)
CIE-LCHlch(60.89, 49.58, 288.61°)
OKLaboklab(66.86% 0.0051 -0.1327)
OKLCHoklch(66.86% 0.133 272.2)
XYZxyz(31.8366, 29.1222, 78.7912)
Luminance0.2912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EE6 #E6D179
analogous
#79C5E6 #798EE6 #9B79E6
triadic
#798EE6 #E6798E #8EE679
tetradic
#798EE6 #E679C5 #E6D179 #79E69B
square
#798EE6 #E679C5 #E6D179 #79E69B
split-complementary
#798EE6 #E69B79 #C5E679
monochromatic
#2442C1 #4563DC #798EE6 #ADB9F0 #E0E5F9

Accessibility & contrast

On white

3.08
#798EE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#798EE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EE6
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EE6#FFFFFF#000000##000000
##798EE61.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D98E9
Deuteranopia (green-blind)
#628FE4
Tritanopia (blue-blind)
#4FA0AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #798ee6;
/* rgb */ color: rgb(121, 142, 230);
/* oklch */ color: oklch(66.9% 0.133 272.2);
Tailwind
colors: {
  custom: {
    50: '#a5aeee',
    500: '#798ee6',
    950: '#000000',
  },
}
SCSS
$custom: #798ee6;
$custom-light: #a5aeee;
$custom-dark: #000000;
JSON
{
  "hex": "#798ee6",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 230
  },
  "hsl": {
    "h": 228.44,
    "s": 68.553,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66859,
    "c": 0.13277,
    "h": 272.2
  },
  "luminance": 0.29124
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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