#798FCC#798FCC

#798FCC is a light, moderate blue. Relative luminance 0.281; OKLCH L 65.7% C 0.095 H 268.5°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#798FCC
RGBrgb(121, 143, 204)
HSLhsl(224, 45%, 64%)
HSVhsv(224, 41%, 80%)
CMYKcmyk(40.7%, 29.9%, 0%, 20%)
CIE-LABlab(59.95, 7.69, -33.95)
CIE-LCHlch(59.95, 34.81, 282.77°)
OKLaboklab(65.74% -0.0024 -0.0948)
OKLCHoklch(65.74% 0.095 268.5)
XYZxyz(28.6033, 28.0681, 61.0256)
Luminance0.2807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FCC #CCB679
analogous
#79B8CC #798FCC #8C79CC
triadic
#798FCC #CC798F #8FCC79
tetradic
#798FCC #CC79B8 #CCB679 #79CC8C
square
#798FCC #CC79B8 #CCB679 #79CC8C
split-complementary
#798FCC #CC8C79 #B8CC79
monochromatic
#385093 #4D6ABB #798FCC #A5B4DD #D2D9EE

Accessibility & contrast

On white

3.18
#798FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#798FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FCC
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FCC#FFFFFF#000000##000000
##798FCC1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A94CF
Deuteranopia (green-blind)
#728DCB
Tritanopia (blue-blind)
#5E9BA5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #798fcc;
/* rgb */ color: rgb(121, 143, 204);
/* oklch */ color: oklch(65.7% 0.095 268.5);
Tailwind
colors: {
  custom: {
    50: '#a3afdb',
    500: '#798fcc',
    950: '#000000',
  },
}
SCSS
$custom: #798fcc;
$custom-light: #a3afdb;
$custom-dark: #000000;
JSON
{
  "hex": "#798fcc",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 204
  },
  "hsl": {
    "h": 224.096,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65737,
    "c": 0.09486,
    "h": 268.5
  },
  "luminance": 0.2807
}

Semantic roles & 50–950 ramp

primary
#798FCC
secondary
#DFD7C2
accent
#932DB8
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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