#798CDC#798CDC

#798CDC is a light, vivid blue. Relative luminance 0.280; OKLCH L 65.9% C 0.121 H 272.6°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#798CDC
RGBrgb(121, 140, 220)
HSLhsl(228, 59%, 67%)
HSVhsv(228, 45%, 86%)
CMYKcmyk(45%, 36.4%, 0%, 13.7%)
CIE-LABlab(59.88, 14.05, -43.02)
CIE-LCHlch(59.88, 45.26, 288.08°)
OKLaboklab(65.92% 0.0054 -0.1211)
OKLCHoklch(65.92% 0.121 272.6)
XYZxyz(30.1775, 27.9868, 71.5081)
Luminance0.2799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CDC #DCC979
analogous
#79BEDC #798CDC #9879DC
triadic
#798CDC #DC798C #8CDC79
tetradic
#798CDC #DC79BE #DCC979 #79DC98
square
#798CDC #DC79BE #DCC979 #79DC98
split-complementary
#798CDC #DC9879 #BEDC79
monochromatic
#2D46AD #4862CF #798CDC #AAB6E9 #DADFF5

Accessibility & contrast

On white

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

On black

6.60
#798CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CDC
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CDC#FFFFFF#000000##000000
##798CDC1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F95DF
Deuteranopia (green-blind)
#668CDA
Tritanopia (blue-blind)
#569CAA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #798cdc;
/* rgb */ color: rgb(121, 140, 220);
/* oklch */ color: oklch(65.9% 0.121 272.6);
Tailwind
colors: {
  custom: {
    50: '#a4ade7',
    500: '#798cdc',
    950: '#000000',
  },
}
SCSS
$custom: #798cdc;
$custom-light: #a4ade7;
$custom-dark: #000000;
JSON
{
  "hex": "#798cdc",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 220
  },
  "hsl": {
    "h": 228.485,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.6592,
    "c": 0.12124,
    "h": 272.6
  },
  "luminance": 0.27988
}

Semantic roles & 50–950 ramp

primary
#798CDC
secondary
#E8E2C9
accent
#A61FC6
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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