#798CD0#798CD0

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

Color values

HEX#798CD0
RGBrgb(121, 140, 208)
HSLhsl(227, 48%, 65%)
HSVhsv(227, 42%, 82%)
CMYKcmyk(41.8%, 32.7%, 0%, 18.4%)
CIE-LABlab(59.32, 10.58, -37.18)
CIE-LCHlch(59.32, 38.66, 285.88°)
OKLaboklab(65.31% 0.0025 -0.1042)
OKLCHoklch(65.31% 0.104 271.4)
XYZxyz(28.6449, 27.3737, 63.4366)
Luminance0.2737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CD0 #D0BD79
analogous
#79B7D0 #798CD0 #9279D0
triadic
#798CD0 #D0798C #8CD079
tetradic
#798CD0 #D079B7 #D0BD79 #79D092
square
#798CD0 #D079B7 #D0BD79 #79D092
split-complementary
#798CD0 #D09279 #B7D079
monochromatic
#364B99 #4C65C0 #798CD0 #A6B3E0 #D4DAF0

Accessibility & contrast

On white

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

On black

6.48
#798CD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CD0
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CD0#FFFFFF#000000##000000
##798CD01.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7493D3
Deuteranopia (green-blind)
#6D8BCE
Tritanopia (blue-blind)
#5C9AA5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #798cd0;
/* rgb */ color: rgb(121, 140, 208);
/* oklch */ color: oklch(65.3% 0.104 271.4);
Tailwind
colors: {
  custom: {
    50: '#a3adde',
    500: '#798cd0',
    950: '#000000',
  },
}
SCSS
$custom: #798cd0;
$custom-light: #a3adde;
$custom-dark: #000000;
JSON
{
  "hex": "#798cd0",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 208
  },
  "hsl": {
    "h": 226.897,
    "s": 48.066,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65306,
    "c": 0.1042,
    "h": 271.4
  },
  "luminance": 0.27375
}

Semantic roles & 50–950 ramp

primary
#798CD0
secondary
#E1DBC3
accent
#9C2ABB
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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