#798EDB#798EDB

#798EDB is a light, moderate blue. Relative luminance 0.285; OKLCH L 66.3% C 0.117 H 271.3°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#798EDB
RGBrgb(121, 142, 219)
HSLhsl(227, 58%, 67%)
HSVhsv(227, 45%, 86%)
CMYKcmyk(44.7%, 35.2%, 0%, 14.1%)
CIE-LABlab(60.36, 12.58, -41.71)
CIE-LCHlch(60.36, 43.56, 286.79°)
OKLaboklab(66.28% 0.0027 -0.1173)
OKLCHoklch(66.28% 0.117 271.3)
XYZxyz(30.3403, 28.5238, 70.9110)
Luminance0.2853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EDB #DBC679
analogous
#79BFDB #798EDB #9579DB
triadic
#798EDB #DB798E #8EDB79
tetradic
#798EDB #DB79BF #DBC679 #79DB95
square
#798EDB #DB79BF #DBC679 #79DB95
split-complementary
#798EDB #DB9579 #BFDB79
monochromatic
#2E49AC #4965CE #798EDB #A9B7E8 #D9DFF5

Accessibility & contrast

On white

3.13
#798EDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#798EDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EDB
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EDB#FFFFFF#000000##000000
##798EDB1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7296DE
Deuteranopia (green-blind)
#698ED9
Tritanopia (blue-blind)
#569EAA
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #798edb;
/* rgb */ color: rgb(121, 142, 219);
/* oklch */ color: oklch(66.3% 0.117 271.3);
Tailwind
colors: {
  custom: {
    50: '#a4aee6',
    500: '#798edb',
    950: '#000000',
  },
}
SCSS
$custom: #798edb;
$custom-light: #a4aee6;
$custom-dark: #000000;
JSON
{
  "hex": "#798edb",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 219
  },
  "hsl": {
    "h": 227.143,
    "s": 57.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66277,
    "c": 0.11732,
    "h": 271.3
  },
  "luminance": 0.28525
}

Semantic roles & 50–950 ramp

primary
#798EDB
secondary
#E8E1C8
accent
#A220C5
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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