#798BD8#798BD8

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

Color values

HEX#798BD8
RGBrgb(121, 139, 216)
HSLhsl(229, 55%, 66%)
HSVhsv(229, 44%, 85%)
CMYKcmyk(44%, 35.6%, 0%, 15.3%)
CIE-LABlab(59.42, 13.47, -41.50)
CIE-LCHlch(59.42, 43.63, 287.98°)
OKLaboklab(65.51% 0.0057 -0.1167)
OKLCHoklch(65.51% 0.117 272.8)
XYZxyz(29.5086, 27.4865, 68.7030)
Luminance0.2749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BD8 #D8C679
analogous
#79BAD8 #798BD8 #9679D8
triadic
#798BD8 #D8798B #8BD879
tetradic
#798BD8 #D879BA #D8C679 #79D896
square
#798BD8 #D879BA #D8C679 #79D896
split-complementary
#798BD8 #D89679 #BAD879
monochromatic
#3047A6 #4A62CA #798BD8 #A8B4E6 #D8DDF4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798BD8#FFFFFF#000000##000000
##798BD81.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)
#6F93DB
Deuteranopia (green-blind)
#678BD6
Tritanopia (blue-blind)
#589BA7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #798bd8;
/* rgb */ color: rgb(121, 139, 216);
/* oklch */ color: oklch(65.5% 0.117 272.8);
Tailwind
colors: {
  custom: {
    50: '#a4ace4',
    500: '#798bd8',
    950: '#000000',
  },
}
SCSS
$custom: #798bd8;
$custom-light: #a4ace4;
$custom-dark: #000000;
JSON
{
  "hex": "#798bd8",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 216
  },
  "hsl": {
    "h": 228.632,
    "s": 54.913,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65507,
    "c": 0.11685,
    "h": 272.8
  },
  "luminance": 0.27488
}

Semantic roles & 50–950 ramp

primary
#798BD8
secondary
#E6E0C7
accent
#A423C2
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#0F1015
muted
#7F7F84

Preview Lab

Preview with #798BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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