#798CCD#798CCD

#798CCD is a light, moderate blue. Relative luminance 0.272; OKLCH L 65.2% C 0.100 H 271.0°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#798CCD
RGBrgb(121, 140, 205)
HSLhsl(226, 46%, 64%)
HSVhsv(226, 41%, 80%)
CMYKcmyk(41%, 31.7%, 0%, 19.6%)
CIE-LABlab(59.18, 9.72, -35.71)
CIE-LCHlch(59.18, 37.01, 285.24°)
OKLaboklab(65.16% 0.0017 -0.0999)
OKLCHoklch(65.16% 0.1 271)
XYZxyz(28.2793, 27.2275, 61.5111)
Luminance0.2723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CCD #CDBA79
analogous
#79B6CD #798CCD #9079CD
triadic
#798CCD #CD798C #8CCD79
tetradic
#798CCD #CD79B6 #CDBA79 #79CD90
square
#798CCD #CD79B6 #CDBA79 #79CD90
split-complementary
#798CCD #CD9079 #B6CD79
monochromatic
#374C94 #4C66BC #798CCD #A6B2DE #D2D9EE

Accessibility & contrast

On white

3.26
#798CCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#798CCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CCD
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CCD#FFFFFF#000000##000000
##798CCD1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7692D0
Deuteranopia (green-blind)
#6E8BCB
Tritanopia (blue-blind)
#5E99A3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #798ccd;
/* rgb */ color: rgb(121, 140, 205);
/* oklch */ color: oklch(65.2% 0.100 271.0);
Tailwind
colors: {
  custom: {
    50: '#a3addc',
    500: '#798ccd',
    950: '#000000',
  },
}
SCSS
$custom: #798ccd;
$custom-light: #a3addc;
$custom-dark: #000000;
JSON
{
  "hex": "#798ccd",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 205
  },
  "hsl": {
    "h": 226.429,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65158,
    "c": 0.09991,
    "h": 271
  },
  "luminance": 0.27229
}

Semantic roles & 50–950 ramp

primary
#798CCD
secondary
#E0D9C2
accent
#992DB9
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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