#798BF9#798BF9

#798BF9 is a light, vivid blue. Relative luminance 0.294; OKLCH L 67.3% C 0.163 H 274.2°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#798BF9
RGBrgb(121, 139, 249)
HSLhsl(232, 91%, 73%)
HSVhsv(232, 51%, 98%)
CMYKcmyk(51.4%, 44.2%, 0%, 2.4%)
CIE-LABlab(61.10, 23.32, -57.14)
CIE-LCHlch(61.10, 61.72, 292.20°)
OKLaboklab(67.35% 0.012 -0.1624)
OKLCHoklch(67.35% 0.163 274.2)
XYZxyz(34.2112, 29.3675, 93.4699)
Luminance0.2937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BF9 #F9E779
analogous
#79CBF9 #798BF9 #A779F9
triadic
#798BF9 #F9798B #8BF979
tetradic
#798BF9 #F979CB #F9E779 #79F9A7
square
#798BF9 #F979CB #F9E779 #79F9A7
split-complementary
#798BF9 #F9A779 #CBF979
monochromatic
#0B2AED #3E58F6 #798BF9 #B4BEFC #E2E6FE

Accessibility & contrast

On white

3.05
#798BF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#798BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BF9
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BF9#FFFFFF#000000##000000
##798BF91.003.056.876.87
#FFFFFF3.051.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C99FD
Deuteranopia (green-blind)
#4E8EF7
Tritanopia (blue-blind)
#40A3B6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #798bf9;
/* rgb */ color: rgb(121, 139, 249);
/* oklch */ color: oklch(67.3% 0.163 274.2);
Tailwind
colors: {
  custom: {
    50: '#a7acfc',
    500: '#798bf9',
    950: '#000000',
  },
}
SCSS
$custom: #798bf9;
$custom-light: #a7acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#798bf9",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 249
  },
  "hsl": {
    "h": 231.563,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67345,
    "c": 0.16284,
    "h": 274.2
  },
  "luminance": 0.2937
}

Semantic roles & 50–950 ramp

primary
#798BF9
secondary
#F6F1D5
accent
#C500E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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