#798CD3#798CD3

#798CD3 is a light, moderate blue. Relative luminance 0.275; OKLCH L 65.5% C 0.108 H 271.7°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#798CD3
RGBrgb(121, 140, 211)
HSLhsl(227, 51%, 65%)
HSVhsv(227, 43%, 83%)
CMYKcmyk(42.7%, 33.6%, 0%, 17.3%)
CIE-LABlab(59.46, 11.44, -38.65)
CIE-LCHlch(59.46, 40.31, 286.48°)
OKLaboklab(65.46% 0.0033 -0.1084)
OKLCHoklch(65.46% 0.108 271.7)
XYZxyz(29.0175, 27.5228, 65.3988)
Luminance0.2752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CD3 #D3C079
analogous
#79B9D3 #798CD3 #9379D3
triadic
#798CD3 #D3798C #8CD379
tetradic
#798CD3 #D379B9 #D3C079 #79D393
square
#798CD3 #D379B9 #D3C079 #79D393
split-complementary
#798CD3 #D39379 #B9D379
monochromatic
#344A9E #4B64C4 #798CD3 #A7B4E2 #D5DBF1

Accessibility & contrast

On white

3.23
#798CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#798CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CD3
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CD3#FFFFFF#000000##000000
##798CD31.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7393D6
Deuteranopia (green-blind)
#6B8CD1
Tritanopia (blue-blind)
#5B9AA6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #798cd3;
/* rgb */ color: rgb(121, 140, 211);
/* oklch */ color: oklch(65.5% 0.108 271.7);
Tailwind
colors: {
  custom: {
    50: '#a3ade1',
    500: '#798cd3',
    950: '#000000',
  },
}
SCSS
$custom: #798cd3;
$custom-light: #a3ade1;
$custom-dark: #000000;
JSON
{
  "hex": "#798cd3",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 211
  },
  "hsl": {
    "h": 227.333,
    "s": 50.562,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65456,
    "c": 0.10848,
    "h": 271.7
  },
  "luminance": 0.27524
}

Semantic roles & 50–950 ramp

primary
#798CD3
secondary
#E3DDC5
accent
#9E28BE
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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