#798BB0#798BB0

#798BB0 is a light, muted blue. Relative luminance 0.257; OKLCH L 63.6% C 0.060 H 264.5°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#798BB0
RGBrgb(121, 139, 176)
HSLhsl(220, 26%, 58%)
HSVhsv(220, 31%, 69%)
CMYKcmyk(31.3%, 21%, 0%, 31%)
CIE-LABlab(57.72, 2.41, -21.55)
CIE-LCHlch(57.72, 21.69, 276.38°)
OKLaboklab(63.62% -0.0057 -0.0594)
OKLCHoklch(63.62% 0.06 264.5)
XYZxyz(24.9520, 25.6638, 44.7048)
Luminance0.2566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BB0 #B09E79
analogous
#79A6B0 #798BB0 #8279B0
triadic
#798BB0 #B0798B #8BB079
tetradic
#798BB0 #B079A6 #B09E79 #79B082
square
#798BB0 #B079A6 #B09E79 #79B082
split-complementary
#798BB0 #B08279 #A6B079
monochromatic
#41506E #576B94 #798BB0 #A0ACC7 #C6CEDD

Accessibility & contrast

On white

3.42
#798BB0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#798BB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BB0
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BB0#FFFFFF#000000##000000
##798BB01.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8DB2
Deuteranopia (green-blind)
#7A88AF
Tritanopia (blue-blind)
#699297
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #798bb0;
/* rgb */ color: rgb(121, 139, 176);
/* oklch */ color: oklch(63.6% 0.060 264.5);
Tailwind
colors: {
  custom: {
    50: '#a1acc7',
    500: '#798bb0',
    950: '#000000',
  },
}
SCSS
$custom: #798bb0;
$custom-light: #a1acc7;
$custom-dark: #000000;
JSON
{
  "hex": "#798bb0",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 176
  },
  "hsl": {
    "h": 220.364,
    "s": 25.822,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63621,
    "c": 0.05967,
    "h": 264.5
  },
  "luminance": 0.25665
}

Semantic roles & 50–950 ramp

primary
#798BB0
secondary
#CDC6B7
accent
#A466C2
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #798BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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