#798EDA#798EDA

#798EDA is a light, moderate blue. Relative luminance 0.285; OKLCH L 66.2% C 0.116 H 271.2°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#798EDA
RGBrgb(121, 142, 218)
HSLhsl(227, 57%, 66%)
HSVhsv(227, 44%, 85%)
CMYKcmyk(44.5%, 34.9%, 0%, 14.5%)
CIE-LABlab(60.31, 12.29, -41.22)
CIE-LCHlch(60.31, 43.01, 286.60°)
OKLaboklab(66.22% 0.0025 -0.1159)
OKLCHoklch(66.22% 0.116 271.2)
XYZxyz(30.2091, 28.4713, 70.2198)
Luminance0.2847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EDA #DAC579
analogous
#79BFDA #798EDA #9579DA
triadic
#798EDA #DA798E #8EDA79
tetradic
#798EDA #DA79BF #DAC579 #79DA95
square
#798EDA #DA79BF #DAC579 #79DA95
split-complementary
#798EDA #DA9579 #BFDA79
monochromatic
#2F49AA #4966CD #798EDA #A9B6E7 #D9DFF4

Accessibility & contrast

On white

3.14
#798EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#798EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EDA
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EDA#FFFFFF#000000##000000
##798EDA1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7396DD
Deuteranopia (green-blind)
#6A8ED8
Tritanopia (blue-blind)
#569EAA
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #798eda;
/* rgb */ color: rgb(121, 142, 218);
/* oklch */ color: oklch(66.2% 0.116 271.2);
Tailwind
colors: {
  custom: {
    50: '#a4aee6',
    500: '#798eda',
    950: '#000000',
  },
}
SCSS
$custom: #798eda;
$custom-light: #a4aee6;
$custom-dark: #000000;
JSON
{
  "hex": "#798eda",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 218
  },
  "hsl": {
    "h": 227.01,
    "s": 56.725,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66225,
    "c": 0.11591,
    "h": 271.2
  },
  "luminance": 0.28473
}

Semantic roles & 50–950 ramp

primary
#798EDA
secondary
#E7E0C8
accent
#A121C4
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#0F1016
muted
#7F7F84

Preview Lab

Preview with #798EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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