#798BC0#798BC0

#798BC0 is a light, moderate blue. Relative luminance 0.263; OKLCH L 64.3% C 0.083 H 269.6°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#798BC0
RGBrgb(121, 139, 192)
HSLhsl(225, 36%, 61%)
HSVhsv(225, 37%, 75%)
CMYKcmyk(37%, 27.6%, 0%, 24.7%)
CIE-LABlab(58.35, 6.68, -29.66)
CIE-LCHlch(58.35, 30.41, 282.70°)
OKLaboklab(64.33% -0.0006 -0.0825)
OKLCHoklch(64.33% 0.083 269.6)
XYZxyz(26.6294, 26.3348, 53.5390)
Luminance0.2634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BC0 #C0AE79
analogous
#79AFC0 #798BC0 #8B79C0
triadic
#798BC0 #C0798B #8BC079
tetradic
#798BC0 #C079AF #C0AE79 #79C08B
square
#798BC0 #C079AF #C0AE79 #79C08B
split-complementary
#798BC0 #C08B79 #AFC079
monochromatic
#3D4E82 #5168AB #798BC0 #A3AFD4 #CCD3E7

Accessibility & contrast

On white

3.35
#798BC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#798BC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BC0
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BC0#FFFFFF#000000##000000
##798BC01.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7990C2
Deuteranopia (green-blind)
#738ABF
Tritanopia (blue-blind)
#63969E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #798bc0;
/* rgb */ color: rgb(121, 139, 192);
/* oklch */ color: oklch(64.3% 0.083 269.6);
Tailwind
colors: {
  custom: {
    50: '#a2acd3',
    500: '#798bc0',
    950: '#000000',
  },
}
SCSS
$custom: #798bc0;
$custom-light: #a2acd3;
$custom-dark: #000000;
JSON
{
  "hex": "#798bc0",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 192
  },
  "hsl": {
    "h": 224.789,
    "s": 36.041,
    "l": 61.373
  },
  "oklch": {
    "l": 0.64328,
    "c": 0.08251,
    "h": 269.6
  },
  "luminance": 0.26336
}

Semantic roles & 50–950 ramp

primary
#798BC0
secondary
#D8D1BD
accent
#9037AF
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #798BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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