#798DBE#798DBE

#798DBE is a light, moderate blue. Relative luminance 0.268; OKLCH L 64.7% C 0.077 H 267.1°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#798DBE
RGBrgb(121, 141, 190)
HSLhsl(223, 35%, 61%)
HSVhsv(223, 36%, 75%)
CMYKcmyk(36.3%, 25.8%, 0%, 25.5%)
CIE-LABlab(58.82, 4.98, -27.81)
CIE-LCHlch(58.82, 28.25, 280.15°)
OKLaboklab(64.66% -0.0039 -0.0772)
OKLCHoklch(64.66% 0.077 267.1)
XYZxyz(26.7015, 26.8312, 52.4773)
Luminance0.2683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DBE #BEAA79
analogous
#79AFBE #798DBE #8779BE
triadic
#798DBE #BE798D #8DBE79
tetradic
#798DBE #BE79AF #BEAA79 #79BE87
square
#798DBE #BE79AF #BEAA79 #79BE87
split-complementary
#798DBE #BE8779 #AFBE79
monochromatic
#3E517F #526BA8 #798DBE #A2B0D2 #CBD3E6

Accessibility & contrast

On white

3.30
#798DBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#798DBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DBE
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DBE#FFFFFF#000000##000000
##798DBE1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D91C0
Deuteranopia (green-blind)
#768BBD
Tritanopia (blue-blind)
#64979E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #798dbe;
/* rgb */ color: rgb(121, 141, 190);
/* oklch */ color: oklch(64.7% 0.077 267.1);
Tailwind
colors: {
  custom: {
    50: '#a2aed1',
    500: '#798dbe',
    950: '#000000',
  },
}
SCSS
$custom: #798dbe;
$custom-light: #a2aed1;
$custom-dark: #000000;
JSON
{
  "hex": "#798dbe",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 190
  },
  "hsl": {
    "h": 222.609,
    "s": 34.673,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64662,
    "c": 0.07731,
    "h": 267.1
  },
  "luminance": 0.26832
}

Semantic roles & 50–950 ramp

primary
#798DBE
secondary
#D6CFBC
accent
#8B38AE
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #798DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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