#798BD7#798BD7

#798BD7 is a light, moderate blue. Relative luminance 0.274; OKLCH L 65.5% C 0.115 H 272.7°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#798BD7
RGBrgb(121, 139, 215)
HSLhsl(229, 54%, 66%)
HSVhsv(229, 44%, 84%)
CMYKcmyk(43.7%, 35.3%, 0%, 15.7%)
CIE-LABlab(59.37, 13.18, -41.02)
CIE-LCHlch(59.37, 43.08, 287.81°)
OKLaboklab(65.46% 0.0055 -0.1153)
OKLCHoklch(65.46% 0.115 272.7)
XYZxyz(29.3797, 27.4349, 68.0242)
Luminance0.2744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BD7 #D7C579
analogous
#79BAD7 #798BD7 #9679D7
triadic
#798BD7 #D7798B #8BD779
tetradic
#798BD7 #D779BA #D7C579 #79D796
square
#798BD7 #D779BA #D7C579 #79D796
split-complementary
#798BD7 #D79679 #BAD779
monochromatic
#3147A4 #4A62C9 #798BD7 #A8B4E5 #D7DDF3

Accessibility & contrast

On white

3.24
#798BD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#798BD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BD7
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BD7#FFFFFF#000000##000000
##798BD71.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7093DA
Deuteranopia (green-blind)
#688BD5
Tritanopia (blue-blind)
#599BA7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #798bd7;
/* rgb */ color: rgb(121, 139, 215);
/* oklch */ color: oklch(65.5% 0.115 272.7);
Tailwind
colors: {
  custom: {
    50: '#a4ace3',
    500: '#798bd7',
    950: '#000000',
  },
}
SCSS
$custom: #798bd7;
$custom-light: #a4ace3;
$custom-dark: #000000;
JSON
{
  "hex": "#798bd7",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 215
  },
  "hsl": {
    "h": 228.511,
    "s": 54.023,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65455,
    "c": 0.11543,
    "h": 272.7
  },
  "luminance": 0.27436
}

Semantic roles & 50–950 ramp

primary
#798BD7
secondary
#E5DFC6
accent
#A324C1
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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