#798FD8#798FD8

#798FD8 is a light, moderate blue. Relative luminance 0.287; OKLCH L 66.3% C 0.112 H 270.4°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#798FD8
RGBrgb(121, 143, 216)
HSLhsl(226, 55%, 66%)
HSVhsv(226, 44%, 85%)
CMYKcmyk(44%, 33.8%, 0%, 15.3%)
CIE-LABlab(60.49, 11.12, -39.83)
CIE-LCHlch(60.49, 41.36, 285.60°)
OKLaboklab(66.33% 0.0007 -0.1118)
OKLCHoklch(66.33% 0.112 270.4)
XYZxyz(30.0984, 28.6661, 68.8996)
Luminance0.2867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FD8 #D8C279
analogous
#79BED8 #798FD8 #9279D8
triadic
#798FD8 #D8798F #8FD879
tetradic
#798FD8 #D879BE #D8C279 #79D892
square
#798FD8 #D879BE #D8C279 #79D892
split-complementary
#798FD8 #D89279 #BED879
monochromatic
#304CA6 #4A67CA #798FD8 #A8B7E6 #D8DEF4

Accessibility & contrast

On white

3.12
#798FD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#798FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FD8
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FD8#FFFFFF#000000##000000
##798FD81.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7596DB
Deuteranopia (green-blind)
#6C8ED6
Tritanopia (blue-blind)
#579EAA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798fd8;
/* rgb */ color: rgb(121, 143, 216);
/* oklch */ color: oklch(66.3% 0.112 270.4);
Tailwind
colors: {
  custom: {
    50: '#a4afe4',
    500: '#798fd8',
    950: '#000000',
  },
}
SCSS
$custom: #798fd8;
$custom-light: #a4afe4;
$custom-dark: #000000;
JSON
{
  "hex": "#798fd8",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 216
  },
  "hsl": {
    "h": 226.105,
    "s": 54.913,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66329,
    "c": 0.11184,
    "h": 270.4
  },
  "luminance": 0.28668
}

Semantic roles & 50–950 ramp

primary
#798FD8
secondary
#E6DFC7
accent
#9E23C2
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#0F1015
muted
#7F7F84

Preview Lab

Preview with #798FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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