#798BCF#798BCF

#798BCF is a light, moderate blue. Relative luminance 0.270; OKLCH L 65.0% C 0.104 H 271.9°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#798BCF
RGBrgb(121, 139, 207)
HSLhsl(227, 47%, 64%)
HSVhsv(227, 42%, 81%)
CMYKcmyk(41.5%, 32.9%, 0%, 18.8%)
CIE-LABlab(59.01, 10.88, -37.11)
CIE-LCHlch(59.01, 38.67, 286.34°)
OKLaboklab(65.05% 0.0035 -0.104)
OKLCHoklch(65.05% 0.104 271.9)
XYZxyz(28.3768, 27.0338, 62.7422)
Luminance0.2703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BCF #CFBD79
analogous
#79B6CF #798BCF #9279CF
triadic
#798BCF #CF798B #8BCF79
tetradic
#798BCF #CF79B6 #CFBD79 #79CF92
square
#798BCF #CF79B6 #CFBD79 #79CF92
split-complementary
#798BCF #CF9279 #B6CF79
monochromatic
#364B97 #4C64BF #798BCF #A6B2DF #D3D9EF

Accessibility & contrast

On white

3.28
#798BCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#798BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BCF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BCF#FFFFFF#000000##000000
##798BCF1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7492D2
Deuteranopia (green-blind)
#6C8BCD
Tritanopia (blue-blind)
#5D99A4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #798bcf;
/* rgb */ color: rgb(121, 139, 207);
/* oklch */ color: oklch(65.0% 0.104 271.9);
Tailwind
colors: {
  custom: {
    50: '#a3acde',
    500: '#798bcf',
    950: '#000000',
  },
}
SCSS
$custom: #798bcf;
$custom-light: #a3acde;
$custom-dark: #000000;
JSON
{
  "hex": "#798bcf",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 207
  },
  "hsl": {
    "h": 227.442,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.65049,
    "c": 0.10402,
    "h": 271.9
  },
  "luminance": 0.27035
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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