#798EBD#798EBD

#798EBD is a light, moderate blue. Relative luminance 0.271; OKLCH L 64.8% C 0.075 H 265.7°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#798EBD
RGBrgb(121, 142, 189)
HSLhsl(221, 34%, 61%)
HSVhsv(221, 36%, 74%)
CMYKcmyk(36%, 24.9%, 0%, 25.9%)
CIE-LABlab(59.05, 4.13, -26.88)
CIE-LCHlch(59.05, 27.20, 278.73°)
OKLaboklab(64.83% -0.0056 -0.0746)
OKLCHoklch(64.83% 0.075 265.7)
XYZxyz(26.7407, 27.0839, 51.9530)
Luminance0.2708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EBD #BDA879
analogous
#79B0BD #798EBD #8679BD
triadic
#798EBD #BD798E #8EBD79
tetradic
#798EBD #BD79B0 #BDA879 #79BD86
square
#798EBD #BD79B0 #BDA879 #79BD86
split-complementary
#798EBD #BD8679 #B0BD79
monochromatic
#3E527E #526CA7 #798EBD #A2B1D1 #CBD3E5

Accessibility & contrast

On white

3.27
#798EBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#798EBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EBD
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EBD#FFFFFF#000000##000000
##798EBD1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E91BF
Deuteranopia (green-blind)
#788BBC
Tritanopia (blue-blind)
#64989E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #798ebd;
/* rgb */ color: rgb(121, 142, 189);
/* oklch */ color: oklch(64.8% 0.075 265.7);
Tailwind
colors: {
  custom: {
    50: '#a2aed1',
    500: '#798ebd',
    950: '#000000',
  },
}
SCSS
$custom: #798ebd;
$custom-light: #a2aed1;
$custom-dark: #000000;
JSON
{
  "hex": "#798ebd",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 189
  },
  "hsl": {
    "h": 221.471,
    "s": 34,
    "l": 60.784
  },
  "oklch": {
    "l": 0.64832,
    "c": 0.07477,
    "h": 265.7
  },
  "luminance": 0.27085
}

Semantic roles & 50–950 ramp

primary
#798EBD
secondary
#D6CEBC
accent
#8939AD
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #798EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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