#798EE1#798EE1

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

Color values

HEX#798EE1
RGBrgb(121, 142, 225)
HSLhsl(228, 63%, 68%)
HSVhsv(228, 46%, 88%)
CMYKcmyk(46.2%, 36.9%, 0%, 11.8%)
CIE-LABlab(60.64, 14.34, -44.60)
CIE-LCHlch(60.64, 46.85, 287.83°)
OKLaboklab(66.59% 0.0041 -0.1257)
OKLCHoklch(66.59% 0.126 271.9)
XYZxyz(31.1445, 28.8454, 75.1462)
Luminance0.2885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EE1 #E1CC79
analogous
#79C2E1 #798EE1 #9879E1
triadic
#798EE1 #E1798E #8EE179
tetradic
#798EE1 #E179C2 #E1CC79 #79E198
square
#798EE1 #E179C2 #E1CC79 #79E198
split-complementary
#798EE1 #E19879 #C2E179
monochromatic
#2946B7 #4764D6 #798EE1 #ABB8EC #DDE2F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798EE1#FFFFFF#000000##000000
##798EE11.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)
#6F97E4
Deuteranopia (green-blind)
#658EDF
Tritanopia (blue-blind)
#529FAD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798ee1;
/* rgb */ color: rgb(121, 142, 225);
/* oklch */ color: oklch(66.6% 0.126 271.9);
Tailwind
colors: {
  custom: {
    50: '#a5aeeb',
    500: '#798ee1',
    950: '#000000',
  },
}
SCSS
$custom: #798ee1;
$custom-light: #a5aeeb;
$custom-dark: #000000;
JSON
{
  "hex": "#798ee1",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 225
  },
  "hsl": {
    "h": 227.885,
    "s": 63.415,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66591,
    "c": 0.12577,
    "h": 271.9
  },
  "luminance": 0.28847
}

Semantic roles & 50–950 ramp

primary
#798EE1
secondary
#EBE4CB
accent
#A71ACB
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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