#798CDB#798CDB

#798CDB is a light, moderate blue. Relative luminance 0.279; OKLCH L 65.9% C 0.120 H 272.5°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#798CDB
RGBrgb(121, 140, 219)
HSLhsl(228, 58%, 67%)
HSVhsv(228, 45%, 86%)
CMYKcmyk(44.7%, 36.1%, 0%, 14.1%)
CIE-LABlab(59.83, 13.75, -42.54)
CIE-LCHlch(59.83, 44.71, 287.92°)
OKLaboklab(65.87% 0.0052 -0.1197)
OKLCHoklch(65.87% 0.12 272.5)
XYZxyz(30.0454, 27.9340, 70.8127)
Luminance0.2794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CDB #DBC879
analogous
#79BDDB #798CDB #9779DB
triadic
#798CDB #DB798C #8CDB79
tetradic
#798CDB #DB79BD #DBC879 #79DB97
square
#798CDB #DB79BD #DBC879 #79DB97
split-complementary
#798CDB #DB9779 #BDDB79
monochromatic
#2E46AC #4963CE #798CDB #A9B5E8 #D9DFF5

Accessibility & contrast

On white

3.19
#798CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#798CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CDB
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CDB#FFFFFF#000000##000000
##798CDB1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F95DE
Deuteranopia (green-blind)
#678CD9
Tritanopia (blue-blind)
#569CA9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #798cdb;
/* rgb */ color: rgb(121, 140, 219);
/* oklch */ color: oklch(65.9% 0.120 272.5);
Tailwind
colors: {
  custom: {
    50: '#a4ade6',
    500: '#798cdb',
    950: '#000000',
  },
}
SCSS
$custom: #798cdb;
$custom-light: #a4ade6;
$custom-dark: #000000;
JSON
{
  "hex": "#798cdb",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 219
  },
  "hsl": {
    "h": 228.367,
    "s": 57.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65868,
    "c": 0.11983,
    "h": 272.5
  },
  "luminance": 0.27936
}

Semantic roles & 50–950 ramp

primary
#798CDB
secondary
#E8E2C8
accent
#A520C5
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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