#798CCC#798CCC

#798CCC is a light, moderate blue. Relative luminance 0.272; OKLCH L 65.1% C 0.098 H 270.8°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#798CCC
RGBrgb(121, 140, 204)
HSLhsl(226, 45%, 64%)
HSVhsv(226, 41%, 80%)
CMYKcmyk(40.7%, 31.4%, 0%, 20%)
CIE-LABlab(59.14, 9.44, -35.21)
CIE-LCHlch(59.14, 36.46, 285.01°)
OKLaboklab(65.11% 0.0014 -0.0985)
OKLCHoklch(65.11% 0.098 270.8)
XYZxyz(28.1590, 27.1794, 60.8774)
Luminance0.2718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CCC #CCB979
analogous
#79B5CC #798CCC #8F79CC
triadic
#798CCC #CC798C #8CCC79
tetradic
#798CCC #CC79B5 #CCB979 #79CC8F
square
#798CCC #CC79B5 #CCB979 #79CC8F
split-complementary
#798CCC #CC8F79 #B5CC79
monochromatic
#384D93 #4D66BB #798CCC #A5B2DD #D2D8EE

Accessibility & contrast

On white

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

On black

6.44
#798CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CCC
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CCC#FFFFFF#000000##000000
##798CCC1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #798ccc;
/* rgb */ color: rgb(121, 140, 204);
/* oklch */ color: oklch(65.1% 0.098 270.8);
Tailwind
colors: {
  custom: {
    50: '#a3addc',
    500: '#798ccc',
    950: '#000000',
  },
}
SCSS
$custom: #798ccc;
$custom-light: #a3addc;
$custom-dark: #000000;
JSON
{
  "hex": "#798ccc",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 204
  },
  "hsl": {
    "h": 226.265,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65109,
    "c": 0.09849,
    "h": 270.8
  },
  "luminance": 0.27181
}

Semantic roles & 50–950 ramp

primary
#798CCC
secondary
#DFD8C2
accent
#982DB8
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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