#798BD5#798BD5

#798BD5 is a light, moderate blue. Relative luminance 0.273; OKLCH L 65.4% C 0.113 H 272.6°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#798BD5
RGBrgb(121, 139, 213)
HSLhsl(228, 52%, 65%)
HSVhsv(228, 43%, 84%)
CMYKcmyk(43.2%, 34.7%, 0%, 16.5%)
CIE-LABlab(59.28, 12.60, -40.04)
CIE-LCHlch(59.28, 41.98, 287.47°)
OKLaboklab(65.35% 0.005 -0.1125)
OKLCHoklch(65.35% 0.113 272.6)
XYZxyz(29.1243, 27.3328, 66.6790)
Luminance0.2733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BD5 #D5C379
analogous
#79B9D5 #798BD5 #9579D5
triadic
#798BD5 #D5798B #8BD579
tetradic
#798BD5 #D579B9 #D5C379 #79D595
square
#798BD5 #D579B9 #D5C379 #79D595
split-complementary
#798BD5 #D59579 #B9D579
monochromatic
#3248A1 #4A63C6 #798BD5 #A8B3E4 #D6DCF2

Accessibility & contrast

On white

3.25
#798BD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#798BD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BD5
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BD5#FFFFFF#000000##000000
##798BD51.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7193D8
Deuteranopia (green-blind)
#698BD3
Tritanopia (blue-blind)
#5A9AA6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #798bd5;
/* rgb */ color: rgb(121, 139, 213);
/* oklch */ color: oklch(65.4% 0.113 272.6);
Tailwind
colors: {
  custom: {
    50: '#a3ace2',
    500: '#798bd5',
    950: '#000000',
  },
}
SCSS
$custom: #798bd5;
$custom-light: #a3ace2;
$custom-dark: #000000;
JSON
{
  "hex": "#798bd5",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 213
  },
  "hsl": {
    "h": 228.261,
    "s": 52.273,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65352,
    "c": 0.11258,
    "h": 272.6
  },
  "luminance": 0.27334
}

Semantic roles & 50–950 ramp

primary
#798BD5
secondary
#E4DEC5
accent
#A226C0
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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