#798BC3#798BC3

#798BC3 is a light, moderate blue. Relative luminance 0.265; OKLCH L 64.5% C 0.087 H 270.2°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#798BC3
RGBrgb(121, 139, 195)
HSLhsl(225, 38%, 62%)
HSVhsv(225, 38%, 76%)
CMYKcmyk(37.9%, 28.7%, 0%, 23.5%)
CIE-LABlab(58.48, 7.51, -31.16)
CIE-LCHlch(58.48, 32.06, 283.55°)
OKLaboklab(64.47% 0.0003 -0.0868)
OKLCHoklch(64.47% 0.087 270.2)
XYZxyz(26.9652, 26.4691, 55.3074)
Luminance0.2647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BC3 #C3B179
analogous
#79B0C3 #798BC3 #8C79C3
triadic
#798BC3 #C3798B #8BC379
tetradic
#798BC3 #C379B0 #C3B179 #79C38C
square
#798BC3 #C379B0 #C3B179 #79C38C
split-complementary
#798BC3 #C38C79 #B0C379
monochromatic
#3C4E86 #4F66B0 #798BC3 #A3B0D6 #CED4E9

Accessibility & contrast

On white

3.34
#798BC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#798BC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BC3
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BC3#FFFFFF#000000##000000
##798BC31.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7890C5
Deuteranopia (green-blind)
#728AC2
Tritanopia (blue-blind)
#62969F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #798bc3;
/* rgb */ color: rgb(121, 139, 195);
/* oklch */ color: oklch(64.5% 0.087 270.2);
Tailwind
colors: {
  custom: {
    50: '#a2acd5',
    500: '#798bc3',
    950: '#000000',
  },
}
SCSS
$custom: #798bc3;
$custom-light: #a2acd5;
$custom-dark: #000000;
JSON
{
  "hex": "#798bc3",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 195
  },
  "hsl": {
    "h": 225.405,
    "s": 38.144,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64468,
    "c": 0.08682,
    "h": 270.2
  },
  "luminance": 0.2647
}

Semantic roles & 50–950 ramp

primary
#798BC3
secondary
#DAD3BE
accent
#9334B1
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #798BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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