#798FC5#798FC5

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

Color values

HEX#798FC5
RGBrgb(121, 143, 197)
HSLhsl(223, 40%, 62%)
HSVhsv(223, 39%, 77%)
CMYKcmyk(38.6%, 27.4%, 0%, 22.7%)
CIE-LABlab(59.65, 5.74, -30.47)
CIE-LCHlch(59.65, 31.01, 280.67°)
OKLaboklab(65.41% -0.0044 -0.0848)
OKLCHoklch(65.41% 0.085 267)
XYZxyz(27.7826, 27.7398, 56.7029)
Luminance0.2774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FC5 #C5AF79
analogous
#79B5C5 #798FC5 #8979C5
triadic
#798FC5 #C5798F #8FC579
tetradic
#798FC5 #C579B5 #C5AF79 #79C589
square
#798FC5 #C579B5 #C5AF79 #79C589
split-complementary
#798FC5 #C58979 #B5C579
monochromatic
#3B5189 #4E6BB3 #798FC5 #A4B3D7 #CED6EA

Accessibility & contrast

On white

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

On black

6.55
#798FC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FC5
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FC5#FFFFFF#000000##000000
##798FC51.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D93C7
Deuteranopia (green-blind)
#758DC4
Tritanopia (blue-blind)
#619AA2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #798fc5;
/* rgb */ color: rgb(121, 143, 197);
/* oklch */ color: oklch(65.4% 0.085 267.0);
Tailwind
colors: {
  custom: {
    50: '#a2afd6',
    500: '#798fc5',
    950: '#000000',
  },
}
SCSS
$custom: #798fc5;
$custom-light: #a2afd6;
$custom-dark: #000000;
JSON
{
  "hex": "#798fc5",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 197
  },
  "hsl": {
    "h": 222.632,
    "s": 39.583,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65408,
    "c": 0.08495,
    "h": 267
  },
  "luminance": 0.27741
}

Semantic roles & 50–950 ramp

primary
#798FC5
secondary
#DBD3BF
accent
#8E33B3
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #798FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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