#798DC5#798DC5

#798DC5 is a light, moderate blue. Relative luminance 0.271; OKLCH L 65.0% C 0.087 H 268.8°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#798DC5
RGBrgb(121, 141, 197)
HSLhsl(224, 40%, 62%)
HSVhsv(224, 39%, 77%)
CMYKcmyk(38.6%, 28.4%, 0%, 22.7%)
CIE-LABlab(59.11, 6.90, -31.32)
CIE-LCHlch(59.11, 32.07, 282.42°)
OKLaboklab(64.98% -0.0018 -0.0873)
OKLCHoklch(64.98% 0.087 268.8)
XYZxyz(27.4850, 27.1446, 56.6037)
Luminance0.2715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DC5 #C5B179
analogous
#79B3C5 #798DC5 #8B79C5
triadic
#798DC5 #C5798D #8DC579
tetradic
#798DC5 #C579B3 #C5B179 #79C58B
square
#798DC5 #C579B3 #C5B179 #79C58B
split-complementary
#798DC5 #C58B79 #B3C579
monochromatic
#3B4F89 #4E69B3 #798DC5 #A4B1D7 #CED6EA

Accessibility & contrast

On white

3.27
#798DC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#798DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DC5
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DC5#FFFFFF#000000##000000
##798DC51.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A92C7
Deuteranopia (green-blind)
#738BC4
Tritanopia (blue-blind)
#6198A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #798dc5;
/* rgb */ color: rgb(121, 141, 197);
/* oklch */ color: oklch(65.0% 0.087 268.8);
Tailwind
colors: {
  custom: {
    50: '#a2aed6',
    500: '#798dc5',
    950: '#000000',
  },
}
SCSS
$custom: #798dc5;
$custom-light: #a2aed6;
$custom-dark: #000000;
JSON
{
  "hex": "#798dc5",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 197
  },
  "hsl": {
    "h": 224.211,
    "s": 39.583,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64984,
    "c": 0.08728,
    "h": 268.8
  },
  "luminance": 0.27146
}

Semantic roles & 50–950 ramp

primary
#798DC5
secondary
#DBD3BF
accent
#9133B3
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #798DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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