#798EBC#798EBC

#798EBC is a light, moderate blue. Relative luminance 0.270; OKLCH L 64.8% C 0.073 H 265.4°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#798EBC
RGBrgb(121, 142, 188)
HSLhsl(221, 33%, 61%)
HSVhsv(221, 36%, 74%)
CMYKcmyk(35.6%, 24.5%, 0%, 26.3%)
CIE-LABlab(59.01, 3.86, -26.38)
CIE-LCHlch(59.01, 26.66, 278.32°)
OKLaboklab(64.79% -0.0059 -0.0731)
OKLCHoklch(64.79% 0.073 265.4)
XYZxyz(26.6325, 27.0406, 51.3833)
Luminance0.2704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EBC #BCA779
analogous
#79AFBC #798EBC #8579BC
triadic
#798EBC #BC798E #8EBC79
tetradic
#798EBC #BC79AF #BCA779 #79BC85
square
#798EBC #BC79AF #BCA779 #79BC85
split-complementary
#798EBC #BC8579 #AFBC79
monochromatic
#3E527C #536CA5 #798EBC #A2B0D0 #CBD3E5

Accessibility & contrast

On white

3.28
#798EBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#798EBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EBC
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EBC#FFFFFF#000000##000000
##798EBC1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F91BE
Deuteranopia (green-blind)
#788BBB
Tritanopia (blue-blind)
#65979E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #798ebc;
/* rgb */ color: rgb(121, 142, 188);
/* oklch */ color: oklch(64.8% 0.073 265.4);
Tailwind
colors: {
  custom: {
    50: '#a1aed0',
    500: '#798ebc',
    950: '#000000',
  },
}
SCSS
$custom: #798ebc;
$custom-light: #a1aed0;
$custom-dark: #000000;
JSON
{
  "hex": "#798ebc",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 188
  },
  "hsl": {
    "h": 221.194,
    "s": 33.333,
    "l": 60.588
  },
  "oklch": {
    "l": 0.64787,
    "c": 0.07336,
    "h": 265.4
  },
  "luminance": 0.27042
}

Semantic roles & 50–950 ramp

primary
#798EBC
secondary
#D5CDBC
accent
#8839AC
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #798EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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