#798CD8#798CD8

#798CD8 is a light, moderate blue. Relative luminance 0.278; OKLCH L 65.7% C 0.116 H 272.2°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#798CD8
RGBrgb(121, 140, 216)
HSLhsl(228, 55%, 66%)
HSVhsv(228, 44%, 85%)
CMYKcmyk(44%, 35.2%, 0%, 15.3%)
CIE-LABlab(59.69, 12.88, -41.09)
CIE-LCHlch(59.69, 43.06, 287.41°)
OKLaboklab(65.71% 0.0045 -0.1155)
OKLCHoklch(65.71% 0.116 272.2)
XYZxyz(29.6541, 27.7774, 68.7515)
Luminance0.2778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CD8 #D8C579
analogous
#79BBD8 #798CD8 #9579D8
triadic
#798CD8 #D8798C #8CD879
tetradic
#798CD8 #D879BB #D8C579 #79D895
square
#798CD8 #D879BB #D8C579 #79D895
split-complementary
#798CD8 #D89579 #BBD879
monochromatic
#3048A6 #4A63CA #798CD8 #A8B5E6 #D8DDF4

Accessibility & contrast

On white

3.20
#798CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#798CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CD8
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CD8#FFFFFF#000000##000000
##798CD81.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7194DB
Deuteranopia (green-blind)
#688CD6
Tritanopia (blue-blind)
#589CA8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #798cd8;
/* rgb */ color: rgb(121, 140, 216);
/* oklch */ color: oklch(65.7% 0.116 272.2);
Tailwind
colors: {
  custom: {
    50: '#a4ade4',
    500: '#798cd8',
    950: '#000000',
  },
}
SCSS
$custom: #798cd8;
$custom-light: #a4ade4;
$custom-dark: #000000;
JSON
{
  "hex": "#798cd8",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 216
  },
  "hsl": {
    "h": 228,
    "s": 54.913,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65712,
    "c": 0.11558,
    "h": 272.2
  },
  "luminance": 0.27779
}

Semantic roles & 50–950 ramp

primary
#798CD8
secondary
#E6E0C7
accent
#A323C2
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#0F1015
muted
#7F7F84

Preview Lab

Preview with #798CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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