#798DE6#798DE6

#798DE6 is a light, vivid blue. Relative luminance 0.288; OKLCH L 66.7% C 0.134 H 272.7°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#798DE6
RGBrgb(121, 141, 230)
HSLhsl(229, 69%, 69%)
HSVhsv(229, 47%, 90%)
CMYKcmyk(47.4%, 38.7%, 0%, 9.8%)
CIE-LABlab(60.63, 16.41, -47.40)
CIE-LCHlch(60.63, 50.16, 289.10°)
OKLaboklab(66.66% 0.0063 -0.1339)
OKLCHoklch(66.66% 0.134 272.7)
XYZxyz(31.6885, 28.8260, 78.7418)
Luminance0.2883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DE6 #E6D279
analogous
#79C4E6 #798DE6 #9C79E6
triadic
#798DE6 #E6798D #8DE679
tetradic
#798DE6 #E679C4 #E6D279 #79E69C
square
#798DE6 #E679C4 #E6D279 #79E69C
split-complementary
#798DE6 #E69C79 #C4E679
monochromatic
#2441C1 #4561DC #798DE6 #ADB9F0 #E0E5F9

Accessibility & contrast

On white

3.10
#798DE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#798DE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DE6
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DE6#FFFFFF#000000##000000
##798DE61.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B97EA
Deuteranopia (green-blind)
#618EE4
Tritanopia (blue-blind)
#4FA0AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798de6;
/* rgb */ color: rgb(121, 141, 230);
/* oklch */ color: oklch(66.7% 0.134 272.7);
Tailwind
colors: {
  custom: {
    50: '#a5aeee',
    500: '#798de6',
    950: '#000000',
  },
}
SCSS
$custom: #798de6;
$custom-light: #a5aeee;
$custom-dark: #000000;
JSON
{
  "hex": "#798de6",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 230
  },
  "hsl": {
    "h": 228.991,
    "s": 68.553,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66658,
    "c": 0.13403,
    "h": 272.7
  },
  "luminance": 0.28828
}

Semantic roles & 50–950 ramp

primary
#798DE6
secondary
#EEE8CD
accent
#AE15D0
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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