#798BDB#798BDB

#798BDB is a light, vivid blue. Relative luminance 0.276; OKLCH L 65.7% C 0.121 H 273.0°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#798BDB
RGBrgb(121, 139, 219)
HSLhsl(229, 58%, 67%)
HSVhsv(229, 45%, 86%)
CMYKcmyk(44.7%, 36.5%, 0%, 14.1%)
CIE-LABlab(59.56, 14.34, -42.96)
CIE-LCHlch(59.56, 45.29, 288.46°)
OKLaboklab(65.66% 0.0064 -0.1209)
OKLCHoklch(65.66% 0.121 273)
XYZxyz(29.9000, 27.6430, 70.7642)
Luminance0.2764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BDB #DBC979
analogous
#79BCDB #798BDB #9879DB
triadic
#798BDB #DB798B #8BDB79
tetradic
#798BDB #DB79BC #DBC979 #79DB98
square
#798BDB #DB79BC #DBC979 #79DB98
split-complementary
#798BDB #DB9879 #BCDB79
monochromatic
#2E45AC #4961CE #798BDB #A9B5E8 #D9DFF5

Accessibility & contrast

On white

3.22
#798BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#798BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BDB
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BDB#FFFFFF#000000##000000
##798BDB1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E94DE
Deuteranopia (green-blind)
#658CD9
Tritanopia (blue-blind)
#569BA9
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #798bdb;
/* rgb */ color: rgb(121, 139, 219);
/* oklch */ color: oklch(65.7% 0.121 273.0);
Tailwind
colors: {
  custom: {
    50: '#a4ace6',
    500: '#798bdb',
    950: '#000000',
  },
}
SCSS
$custom: #798bdb;
$custom-light: #a4ace6;
$custom-dark: #000000;
JSON
{
  "hex": "#798bdb",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 219
  },
  "hsl": {
    "h": 228.98,
    "s": 57.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65664,
    "c": 0.1211,
    "h": 273
  },
  "luminance": 0.27645
}

Semantic roles & 50–950 ramp

primary
#798BDB
secondary
#E8E2C8
accent
#A720C5
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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