#798DCB#798DCB

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

Color values

HEX#798DCB
RGBrgb(121, 141, 203)
HSLhsl(225, 44%, 64%)
HSVhsv(225, 40%, 80%)
CMYKcmyk(40.4%, 30.5%, 0%, 20.4%)
CIE-LABlab(59.37, 8.58, -34.30)
CIE-LCHlch(59.37, 35.35, 284.04°)
OKLaboklab(65.27% -0.0001 -0.0958)
OKLCHoklch(65.27% 0.096 269.9)
XYZxyz(28.1862, 27.4251, 60.2967)
Luminance0.2743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DCB #CBB779
analogous
#79B6CB #798DCB #8E79CB
triadic
#798DCB #CB798D #8DCB79
tetradic
#798DCB #CB79B6 #CBB779 #79CB8E
square
#798DCB #CB79B6 #CBB779 #79CB8E
split-complementary
#798DCB #CB8E79 #B6CB79
monochromatic
#384E91 #4D67BA #798DCB #A5B3DC #D1D8ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798DCB#FFFFFF#000000##000000
##798DCB1.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)
#7893CE
Deuteranopia (green-blind)
#708CCA
Tritanopia (blue-blind)
#5E9AA3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #798dcb;
/* rgb */ color: rgb(121, 141, 203);
/* oklch */ color: oklch(65.3% 0.096 269.9);
Tailwind
colors: {
  custom: {
    50: '#a3aedb',
    500: '#798dcb',
    950: '#000000',
  },
}
SCSS
$custom: #798dcb;
$custom-light: #a3aedb;
$custom-dark: #000000;
JSON
{
  "hex": "#798dcb",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 203
  },
  "hsl": {
    "h": 225.366,
    "s": 44.086,
    "l": 63.529
  },
  "oklch": {
    "l": 0.65269,
    "c": 0.09584,
    "h": 269.9
  },
  "luminance": 0.27426
}

Semantic roles & 50–950 ramp

primary
#798DCB
secondary
#DED7C1
accent
#962EB7
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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