#798BD6#798BD6

#798BD6 is a light, moderate blue. Relative luminance 0.274; OKLCH L 65.4% C 0.114 H 272.6°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#798BD6
RGBrgb(121, 139, 214)
HSLhsl(228, 53%, 66%)
HSVhsv(228, 43%, 84%)
CMYKcmyk(43.5%, 35%, 0%, 16.1%)
CIE-LABlab(59.33, 12.89, -40.53)
CIE-LCHlch(59.33, 42.53, 287.64°)
OKLaboklab(65.4% 0.0053 -0.1139)
OKLCHoklch(65.4% 0.114 272.6)
XYZxyz(29.2516, 27.3837, 67.3495)
Luminance0.2738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BD6 #D6C479
analogous
#79B9D6 #798BD6 #9579D6
triadic
#798BD6 #D6798B #8BD679
tetradic
#798BD6 #D679B9 #D6C479 #79D695
square
#798BD6 #D679B9 #D6C479 #79D695
split-complementary
#798BD6 #D69579 #B9D679
monochromatic
#3248A3 #4A62C8 #798BD6 #A8B4E4 #D7DCF3

Accessibility & contrast

On white

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

On black

6.48
#798BD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BD6
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BD6#FFFFFF#000000##000000
##798BD61.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7093D9
Deuteranopia (green-blind)
#688BD4
Tritanopia (blue-blind)
#599AA6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #798bd6;
/* rgb */ color: rgb(121, 139, 214);
/* oklch */ color: oklch(65.4% 0.114 272.6);
Tailwind
colors: {
  custom: {
    50: '#a4ace3',
    500: '#798bd6',
    950: '#000000',
  },
}
SCSS
$custom: #798bd6;
$custom-light: #a4ace3;
$custom-dark: #000000;
JSON
{
  "hex": "#798bd6",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 214
  },
  "hsl": {
    "h": 228.387,
    "s": 53.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65403,
    "c": 0.11401,
    "h": 272.6
  },
  "luminance": 0.27385
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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