#798BD3#798BD3

#798BD3 is a light, moderate blue. Relative luminance 0.272; OKLCH L 65.3% C 0.110 H 272.4°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#798BD3
RGBrgb(121, 139, 211)
HSLhsl(228, 51%, 65%)
HSVhsv(228, 43%, 83%)
CMYKcmyk(42.7%, 34.1%, 0%, 17.3%)
CIE-LABlab(59.19, 12.02, -39.07)
CIE-LCHlch(59.19, 40.88, 287.11°)
OKLaboklab(65.25% 0.0045 -0.1096)
OKLCHoklch(65.25% 0.11 272.4)
XYZxyz(28.8720, 27.2319, 65.3503)
Luminance0.2723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BD3 #D3C179
analogous
#79B8D3 #798BD3 #9479D3
triadic
#798BD3 #D3798B #8BD379
tetradic
#798BD3 #D379B8 #D3C179 #79D394
square
#798BD3 #D379B8 #D3C179 #79D394
split-complementary
#798BD3 #D39479 #B8D379
monochromatic
#34499E #4B63C4 #798BD3 #A7B3E2 #D5DBF1

Accessibility & contrast

On white

3.26
#798BD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#798BD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BD3
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BD3#FFFFFF#000000##000000
##798BD31.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7292D6
Deuteranopia (green-blind)
#6A8BD1
Tritanopia (blue-blind)
#5B9AA5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #798bd3;
/* rgb */ color: rgb(121, 139, 211);
/* oklch */ color: oklch(65.3% 0.110 272.4);
Tailwind
colors: {
  custom: {
    50: '#a3ace1',
    500: '#798bd3',
    950: '#000000',
  },
}
SCSS
$custom: #798bd3;
$custom-light: #a3ace1;
$custom-dark: #000000;
JSON
{
  "hex": "#798bd3",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 211
  },
  "hsl": {
    "h": 228,
    "s": 50.562,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6525,
    "c": 0.10973,
    "h": 272.4
  },
  "luminance": 0.27233
}

Semantic roles & 50–950 ramp

primary
#798BD3
secondary
#E3DDC5
accent
#A028BE
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #798BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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