#798DB2#798DB2

#798DB2 is a light, moderate blue. Relative luminance 0.263; OKLCH L 64.1% C 0.060 H 262.6°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#798DB2
RGBrgb(121, 141, 178)
HSLhsl(219, 27%, 59%)
HSVhsv(219, 32%, 70%)
CMYKcmyk(32%, 20.8%, 0%, 30.2%)
CIE-LABlab(58.35, 1.78, -21.72)
CIE-LCHlch(58.35, 21.80, 274.69°)
OKLaboklab(64.14% -0.0078 -0.0599)
OKLCHoklch(64.14% 0.06 262.6)
XYZxyz(25.4436, 26.3281, 45.8521)
Luminance0.2633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DB2 #B29E79
analogous
#79A9B2 #798DB2 #8179B2
triadic
#798DB2 #B2798D #8DB279
tetradic
#798DB2 #B279A9 #B29E79 #79B281
square
#798DB2 #B279A9 #B29E79 #79B281
split-complementary
#798DB2 #B28179 #A9B279
monochromatic
#405170 #576D97 #798DB2 #A0AEC8 #C7CFDF

Accessibility & contrast

On white

3.35
#798DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#798DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DB2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DB2#FFFFFF#000000##000000
##798DB21.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#818FB4
Deuteranopia (green-blind)
#7B8AB1
Tritanopia (blue-blind)
#699599
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #798db2;
/* rgb */ color: rgb(121, 141, 178);
/* oklch */ color: oklch(64.1% 0.060 262.6);
Tailwind
colors: {
  custom: {
    50: '#a1aec9',
    500: '#798db2',
    950: '#000000',
  },
}
SCSS
$custom: #798db2;
$custom-light: #a1aec9;
$custom-dark: #000000;
JSON
{
  "hex": "#798db2",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 178
  },
  "hsl": {
    "h": 218.947,
    "s": 27.014,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64139,
    "c": 0.06041,
    "h": 262.6
  },
  "luminance": 0.26329
}

Semantic roles & 50–950 ramp

primary
#798DB2
secondary
#CFC7B8
accent
#A264C3
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #798DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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