#798FE7#798FE7

#798FE7 is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.1% C 0.133 H 271.8°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#798FE7
RGBrgb(121, 143, 231)
HSLhsl(228, 70%, 69%)
HSVhsv(228, 48%, 91%)
CMYKcmyk(47.6%, 38.1%, 0%, 9.4%)
CIE-LABlab(61.20, 15.53, -47.05)
CIE-LCHlch(61.20, 49.55, 288.27°)
OKLaboklab(67.12% 0.0042 -0.1328)
OKLCHoklch(67.12% 0.133 271.8)
XYZxyz(32.1269, 29.4775, 79.5827)
Luminance0.2948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FE7 #E7D179
analogous
#79C6E7 #798FE7 #9A79E7
triadic
#798FE7 #E7798F #8FE779
tetradic
#798FE7 #E779C6 #E7D179 #79E79A
square
#798FE7 #E779C6 #E7D179 #79E79A
split-complementary
#798FE7 #E79A79 #C6E779
monochromatic
#2343C3 #4564DE #798FE7 #ADBAF0 #E1E6FA

Accessibility & contrast

On white

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

On black

6.90
#798FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FE7
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FE7#FFFFFF#000000##000000
##798FE71.003.056.906.90
#FFFFFF3.051.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E99EA
Deuteranopia (green-blind)
#638FE5
Tritanopia (blue-blind)
#4EA1B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #798fe7;
/* rgb */ color: rgb(121, 143, 231);
/* oklch */ color: oklch(67.1% 0.133 271.8);
Tailwind
colors: {
  custom: {
    50: '#a5afef',
    500: '#798fe7',
    950: '#000000',
  },
}
SCSS
$custom: #798fe7;
$custom-light: #a5afef;
$custom-dark: #000000;
JSON
{
  "hex": "#798fe7",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 231
  },
  "hsl": {
    "h": 228,
    "s": 69.62,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67115,
    "c": 0.13292,
    "h": 271.8
  },
  "luminance": 0.29479
}

Semantic roles & 50–950 ramp

primary
#798FE7
secondary
#EEE8CE
accent
#AC14D2
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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