#798ABC#798ABC

#798ABC is a light, moderate blue. Relative luminance 0.259; OKLCH L 63.9% C 0.078 H 269.6°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#798ABC
RGBrgb(121, 138, 188)
HSLhsl(225, 33%, 61%)
HSVhsv(225, 36%, 74%)
CMYKcmyk(35.6%, 26.6%, 0%, 26.3%)
CIE-LABlab(57.92, 6.18, -28.07)
CIE-LCHlch(57.92, 28.74, 282.41°)
OKLaboklab(63.93% -0.0005 -0.0779)
OKLCHoklch(63.93% 0.078 269.6)
XYZxyz(26.0481, 25.8717, 51.1885)
Luminance0.2587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798ABC #BCAB79
analogous
#79ABBC #798ABC #8979BC
triadic
#798ABC #BC798A #8ABC79
tetradic
#798ABC #BC79AB #BCAB79 #79BC89
square
#798ABC #BC79AB #BCAB79 #79BC89
split-complementary
#798ABC #BC8979 #ABBC79
monochromatic
#3E4E7C #5368A5 #798ABC #A2AED0 #CBD1E5

Accessibility & contrast

On white

3.40
#798ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#798ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798ABC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798ABC#FFFFFF#000000##000000
##798ABC1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8EBE
Deuteranopia (green-blind)
#7489BB
Tritanopia (blue-blind)
#65949B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #798abc;
/* rgb */ color: rgb(121, 138, 188);
/* oklch */ color: oklch(63.9% 0.078 269.6);
Tailwind
colors: {
  custom: {
    50: '#a2acd0',
    500: '#798abc',
    950: '#000000',
  },
}
SCSS
$custom: #798abc;
$custom-light: #a2acd0;
$custom-dark: #000000;
JSON
{
  "hex": "#798abc",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 188
  },
  "hsl": {
    "h": 224.776,
    "s": 33.333,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63932,
    "c": 0.07795,
    "h": 269.6
  },
  "luminance": 0.25873
}

Semantic roles & 50–950 ramp

primary
#798ABC
secondary
#D5CFBC
accent
#8F39AC
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #798ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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