#798FDA#798FDA

#798FDA is a light, moderate blue. Relative luminance 0.288; OKLCH L 66.4% C 0.115 H 270.6°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#798FDA
RGBrgb(121, 143, 218)
HSLhsl(226, 57%, 66%)
HSVhsv(226, 44%, 85%)
CMYKcmyk(44.5%, 34.4%, 0%, 14.5%)
CIE-LABlab(60.58, 11.70, -40.80)
CIE-LCHlch(60.58, 42.45, 286.01°)
OKLaboklab(66.43% 0.0012 -0.1147)
OKLCHoklch(66.43% 0.115 270.6)
XYZxyz(30.3585, 28.7702, 70.2696)
Luminance0.2877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FDA #DAC479
analogous
#79C0DA #798FDA #9479DA
triadic
#798FDA #DA798F #8FDA79
tetradic
#798FDA #DA79C0 #DAC479 #79DA94
square
#798FDA #DA79C0 #DAC479 #79DA94
split-complementary
#798FDA #DA9479 #C0DA79
monochromatic
#2F4BAA #4967CD #798FDA #A9B7E7 #D9DFF4

Accessibility & contrast

On white

3.11
#798FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#798FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FDA
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FDA#FFFFFF#000000##000000
##798FDA1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7497DD
Deuteranopia (green-blind)
#6B8ED8
Tritanopia (blue-blind)
#569EAA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798fda;
/* rgb */ color: rgb(121, 143, 218);
/* oklch */ color: oklch(66.4% 0.115 270.6);
Tailwind
colors: {
  custom: {
    50: '#a4afe6',
    500: '#798fda',
    950: '#000000',
  },
}
SCSS
$custom: #798fda;
$custom-light: #a4afe6;
$custom-dark: #000000;
JSON
{
  "hex": "#798fda",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 218
  },
  "hsl": {
    "h": 226.392,
    "s": 56.725,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66431,
    "c": 0.11467,
    "h": 270.6
  },
  "luminance": 0.28772
}

Semantic roles & 50–950 ramp

primary
#798FDA
secondary
#E7E0C8
accent
#9F21C4
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#0F1016
muted
#7F7F84

Preview Lab

Preview with #798FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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