#798ADE#798ADE

#798ADE is a light, vivid blue. Relative luminance 0.275; OKLCH L 65.6% C 0.127 H 273.8°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#798ADE
RGBrgb(121, 138, 222)
HSLhsl(230, 60%, 67%)
HSVhsv(230, 45%, 87%)
CMYKcmyk(45.5%, 37.8%, 0%, 12.9%)
CIE-LABlab(59.45, 15.81, -44.82)
CIE-LCHlch(59.45, 47.52, 289.43°)
OKLaboklab(65.62% 0.0083 -0.1264)
OKLCHoklch(65.62% 0.127 273.8)
XYZxyz(30.1544, 27.5142, 72.8149)
Luminance0.2752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798ADE #DECD79
analogous
#79BDDE #798ADE #9B79DE
triadic
#798ADE #DE798A #8ADE79
tetradic
#798ADE #DE79BD #DECD79 #79DE9B
square
#798ADE #DE79BD #DECD79 #79DE9B
split-complementary
#798ADE #DE9B79 #BDDE79
monochromatic
#2C42B1 #485FD2 #798ADE #AAB5EA #DBE0F6

Accessibility & contrast

On white

3.23
#798ADE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#798ADE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798ADE
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798ADE#FFFFFF#000000##000000
##798ADE1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B94E1
Deuteranopia (green-blind)
#628BDC
Tritanopia (blue-blind)
#559BA9
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #798ade;
/* rgb */ color: rgb(121, 138, 222);
/* oklch */ color: oklch(65.6% 0.127 273.8);
Tailwind
colors: {
  custom: {
    50: '#a4abe8',
    500: '#798ade',
    950: '#000000',
  },
}
SCSS
$custom: #798ade;
$custom-light: #a4abe8;
$custom-dark: #000000;
JSON
{
  "hex": "#798ade",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 222
  },
  "hsl": {
    "h": 229.901,
    "s": 60.479,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65621,
    "c": 0.12663,
    "h": 273.8
  },
  "luminance": 0.27516
}

Semantic roles & 50–950 ramp

primary
#798ADE
secondary
#E9E4C9
accent
#AB1DC8
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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