#798CC0#798CC0

#798CC0 is a light, moderate blue. Relative luminance 0.266; OKLCH L 64.5% C 0.081 H 268.6°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#798CC0
RGBrgb(121, 140, 192)
HSLhsl(224, 36%, 61%)
HSVhsv(224, 37%, 75%)
CMYKcmyk(37%, 27.1%, 0%, 24.7%)
CIE-LABlab(58.63, 6.10, -29.24)
CIE-LCHlch(58.63, 29.87, 281.79°)
OKLaboklab(64.54% -0.002 -0.0813)
OKLCHoklch(64.54% 0.081 268.6)
XYZxyz(26.7748, 26.6257, 53.5875)
Luminance0.2663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CC0 #C0AD79
analogous
#79B0C0 #798CC0 #8A79C0
triadic
#798CC0 #C0798C #8CC079
tetradic
#798CC0 #C079B0 #C0AD79 #79C08A
square
#798CC0 #C079B0 #C0AD79 #79C08A
split-complementary
#798CC0 #C08A79 #B0C079
monochromatic
#3D4F82 #5169AB #798CC0 #A3B0D4 #CCD3E7

Accessibility & contrast

On white

3.32
#798CC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#798CC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CC0
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CC0#FFFFFF#000000##000000
##798CC01.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B90C2
Deuteranopia (green-blind)
#748ABF
Tritanopia (blue-blind)
#63969E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #798cc0;
/* rgb */ color: rgb(121, 140, 192);
/* oklch */ color: oklch(64.5% 0.081 268.6);
Tailwind
colors: {
  custom: {
    50: '#a2add3',
    500: '#798cc0',
    950: '#000000',
  },
}
SCSS
$custom: #798cc0;
$custom-light: #a2add3;
$custom-dark: #000000;
JSON
{
  "hex": "#798cc0",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 192
  },
  "hsl": {
    "h": 223.944,
    "s": 36.041,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6454,
    "c": 0.08131,
    "h": 268.6
  },
  "luminance": 0.26627
}

Semantic roles & 50–950 ramp

primary
#798CC0
secondary
#D8D1BD
accent
#8F37AF
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #798CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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