#798EBE#798EBE

#798EBE is a light, moderate blue. Relative luminance 0.271; OKLCH L 64.9% C 0.076 H 266.0°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#798EBE
RGBrgb(121, 142, 190)
HSLhsl(222, 35%, 61%)
HSVhsv(222, 36%, 75%)
CMYKcmyk(36.3%, 25.3%, 0%, 25.5%)
CIE-LABlab(59.09, 4.40, -27.39)
CIE-LCHlch(59.09, 27.74, 279.13°)
OKLaboklab(64.88% -0.0052 -0.076)
OKLCHoklch(64.88% 0.076 266)
XYZxyz(26.8496, 27.1275, 52.5266)
Luminance0.2713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EBE #BEA979
analogous
#79B0BE #798EBE #8679BE
triadic
#798EBE #BE798E #8EBE79
tetradic
#798EBE #BE79B0 #BEA979 #79BE86
square
#798EBE #BE79B0 #BEA979 #79BE86
split-complementary
#798EBE #BE8679 #B0BE79
monochromatic
#3E527F #526CA8 #798EBE #A2B1D2 #CBD4E6

Accessibility & contrast

On white

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

On black

6.43
#798EBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EBE
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EBE#FFFFFF#000000##000000
##798EBE1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E92C0
Deuteranopia (green-blind)
#778BBD
Tritanopia (blue-blind)
#64989F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #798ebe;
/* rgb */ color: rgb(121, 142, 190);
/* oklch */ color: oklch(64.9% 0.076 266.0);
Tailwind
colors: {
  custom: {
    50: '#a2aed1',
    500: '#798ebe',
    950: '#000000',
  },
}
SCSS
$custom: #798ebe;
$custom-light: #a2aed1;
$custom-dark: #000000;
JSON
{
  "hex": "#798ebe",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 190
  },
  "hsl": {
    "h": 221.739,
    "s": 34.673,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64876,
    "c": 0.07618,
    "h": 266
  },
  "luminance": 0.27129
}

Semantic roles & 50–950 ramp

primary
#798EBE
secondary
#D6CEBC
accent
#8A38AE
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #798EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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