#798FD7#798FD7

#798FD7 is a light, moderate blue. Relative luminance 0.286; OKLCH L 66.3% C 0.110 H 270.3°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#798FD7
RGBrgb(121, 143, 215)
HSLhsl(226, 54%, 66%)
HSVhsv(226, 44%, 84%)
CMYKcmyk(43.7%, 33.5%, 0%, 15.7%)
CIE-LABlab(60.44, 10.83, -39.35)
CIE-LCHlch(60.44, 40.81, 285.40°)
OKLaboklab(66.28% 0.0005 -0.1104)
OKLCHoklch(66.28% 0.11 270.3)
XYZxyz(29.9695, 28.6145, 68.2208)
Luminance0.2862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FD7 #D7C179
analogous
#79BED7 #798FD7 #9279D7
triadic
#798FD7 #D7798F #8FD779
tetradic
#798FD7 #D779BE #D7C179 #79D792
square
#798FD7 #D779BE #D7C179 #79D792
split-complementary
#798FD7 #D79279 #BED779
monochromatic
#314CA4 #4A68C9 #798FD7 #A8B6E5 #D7DEF3

Accessibility & contrast

On white

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

On black

6.72
#798FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FD7
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FD7#FFFFFF#000000##000000
##798FD71.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7596DA
Deuteranopia (green-blind)
#6D8ED5
Tritanopia (blue-blind)
#589EA9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798fd7;
/* rgb */ color: rgb(121, 143, 215);
/* oklch */ color: oklch(66.3% 0.110 270.3);
Tailwind
colors: {
  custom: {
    50: '#a4afe3',
    500: '#798fd7',
    950: '#000000',
  },
}
SCSS
$custom: #798fd7;
$custom-light: #a4afe3;
$custom-dark: #000000;
JSON
{
  "hex": "#798fd7",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 215
  },
  "hsl": {
    "h": 225.957,
    "s": 54.023,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66278,
    "c": 0.11043,
    "h": 270.3
  },
  "luminance": 0.28616
}

Semantic roles & 50–950 ramp

primary
#798FD7
secondary
#E5DEC6
accent
#9D24C1
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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