#798FD2#798FD2

#798FD2 is a light, moderate blue. Relative luminance 0.284; OKLCH L 66.0% C 0.103 H 269.6°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#798FD2
RGBrgb(121, 143, 210)
HSLhsl(225, 50%, 65%)
HSVhsv(225, 42%, 82%)
CMYKcmyk(42.4%, 31.9%, 0%, 17.6%)
CIE-LABlab(60.21, 9.40, -36.90)
CIE-LCHlch(60.21, 38.08, 284.29°)
OKLaboklab(66.03% -0.0008 -0.1034)
OKLCHoklch(66.03% 0.103 269.6)
XYZxyz(29.3369, 28.3615, 64.8888)
Luminance0.2836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FD2 #D2BC79
analogous
#79BBD2 #798FD2 #9079D2
triadic
#798FD2 #D2798F #8FD279
tetradic
#798FD2 #D279BB #D2BC79 #79D290
square
#798FD2 #D279BB #D2BC79 #79D290
split-complementary
#798FD2 #D29079 #BBD279
monochromatic
#344E9C #4B69C3 #798FD2 #A7B5E1 #D5DCF1

Accessibility & contrast

On white

3.15
#798FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#798FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FD2
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FD2#FFFFFF#000000##000000
##798FD21.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7895D5
Deuteranopia (green-blind)
#6F8ED0
Tritanopia (blue-blind)
#5B9DA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #798fd2;
/* rgb */ color: rgb(121, 143, 210);
/* oklch */ color: oklch(66.0% 0.103 269.6);
Tailwind
colors: {
  custom: {
    50: '#a3afe0',
    500: '#798fd2',
    950: '#000000',
  },
}
SCSS
$custom: #798fd2;
$custom-light: #a3afe0;
$custom-dark: #000000;
JSON
{
  "hex": "#798fd2",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 210
  },
  "hsl": {
    "h": 225.169,
    "s": 49.721,
    "l": 64.902
  },
  "oklch": {
    "l": 0.66029,
    "c": 0.10336,
    "h": 269.6
  },
  "luminance": 0.28363
}

Semantic roles & 50–950 ramp

primary
#798FD2
secondary
#E3DBC4
accent
#9828BD
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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