#798FC4#798FC4

#798FC4 is a light, moderate blue. Relative luminance 0.277; OKLCH L 65.4% C 0.084 H 266.7°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#798FC4
RGBrgb(121, 143, 196)
HSLhsl(222, 39%, 62%)
HSVhsv(222, 38%, 77%)
CMYKcmyk(38.3%, 27%, 0%, 23.1%)
CIE-LABlab(59.61, 5.46, -29.97)
CIE-LCHlch(59.61, 30.47, 280.33°)
OKLaboklab(65.36% -0.0047 -0.0834)
OKLCHoklch(65.36% 0.084 266.7)
XYZxyz(27.6684, 27.6941, 56.1015)
Luminance0.2769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FC4 #C4AE79
analogous
#79B5C4 #798FC4 #8979C4
triadic
#798FC4 #C4798F #8FC479
tetradic
#798FC4 #C479B5 #C4AE79 #79C489
square
#798FC4 #C479B5 #C4AE79 #79C489
split-complementary
#798FC4 #C48979 #B5C479
monochromatic
#3B5287 #4F6BB1 #798FC4 #A3B3D7 #CED6E9

Accessibility & contrast

On white

3.21
#798FC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#798FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FC4
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FC4#FFFFFF#000000##000000
##798FC41.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D93C6
Deuteranopia (green-blind)
#768DC3
Tritanopia (blue-blind)
#619AA1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #798fc4;
/* rgb */ color: rgb(121, 143, 196);
/* oklch */ color: oklch(65.4% 0.084 266.7);
Tailwind
colors: {
  custom: {
    50: '#a2afd6',
    500: '#798fc4',
    950: '#000000',
  },
}
SCSS
$custom: #798fc4;
$custom-light: #a2afd6;
$custom-dark: #000000;
JSON
{
  "hex": "#798fc4",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 196
  },
  "hsl": {
    "h": 222.4,
    "s": 38.86,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65362,
    "c": 0.08353,
    "h": 266.7
  },
  "luminance": 0.27695
}

Semantic roles & 50–950 ramp

primary
#798FC4
secondary
#DAD2BF
accent
#8D34B2
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #798FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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