#798CCF#798CCF

#798CCF is a light, moderate blue. Relative luminance 0.273; OKLCH L 65.3% C 0.103 H 271.3°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#798CCF
RGBrgb(121, 140, 207)
HSLhsl(227, 47%, 64%)
HSVhsv(227, 42%, 81%)
CMYKcmyk(41.5%, 32.4%, 0%, 18.8%)
CIE-LABlab(59.27, 10.29, -36.69)
CIE-LCHlch(59.27, 38.11, 285.67°)
OKLaboklab(65.26% 0.0023 -0.1027)
OKLCHoklch(65.26% 0.103 271.3)
XYZxyz(28.5223, 27.3247, 62.7907)
Luminance0.2733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CCF #CFBC79
analogous
#79B7CF #798CCF #9179CF
triadic
#798CCF #CF798C #8CCF79
tetradic
#798CCF #CF79B7 #CFBC79 #79CF91
square
#798CCF #CF79B7 #CFBC79 #79CF91
split-complementary
#798CCF #CF9179 #B7CF79
monochromatic
#364C97 #4C65BF #798CCF #A6B3DF #D3D9EF

Accessibility & contrast

On white

3.25
#798CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#798CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CCF
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CCF#FFFFFF#000000##000000
##798CCF1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7593D2
Deuteranopia (green-blind)
#6D8BCD
Tritanopia (blue-blind)
#5D9AA4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #798ccf;
/* rgb */ color: rgb(121, 140, 207);
/* oklch */ color: oklch(65.3% 0.103 271.3);
Tailwind
colors: {
  custom: {
    50: '#a3adde',
    500: '#798ccf',
    950: '#000000',
  },
}
SCSS
$custom: #798ccf;
$custom-light: #a3adde;
$custom-dark: #000000;
JSON
{
  "hex": "#798ccf",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 207
  },
  "hsl": {
    "h": 226.744,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.65256,
    "c": 0.10277,
    "h": 271.3
  },
  "luminance": 0.27326
}

Semantic roles & 50–950 ramp

primary
#798CCF
secondary
#E1DAC3
accent
#9B2BBB
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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