#798FF9#798FF9

#798FF9 is a light, vivid blue. Relative luminance 0.305; OKLCH L 68.1% C 0.158 H 272.7°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#798FF9
RGBrgb(121, 143, 249)
HSLhsl(230, 91%, 73%)
HSVhsv(230, 51%, 98%)
CMYKcmyk(51.4%, 42.6%, 0%, 2.4%)
CIE-LABlab(62.12, 20.96, -55.52)
CIE-LCHlch(62.12, 59.34, 290.69°)
OKLaboklab(68.12% 0.0075 -0.1576)
OKLCHoklch(68.12% 0.158 272.7)
XYZxyz(34.8010, 30.5471, 93.6665)
Luminance0.3055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FF9 #F9E379
analogous
#79CFF9 #798FF9 #A379F9
triadic
#798FF9 #F9798F #8FF979
tetradic
#798FF9 #F979CF #F9E379 #79F9A3
square
#798FF9 #F979CF #F9E379 #79F9A3
split-complementary
#798FF9 #F9A379 #CFF979
monochromatic
#0B32ED #3E5EF6 #798FF9 #B4C0FC #E2E7FE

Accessibility & contrast

On white

2.95
#798FF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#798FF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #798FF9
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FF9#FFFFFF#000000##000000
##798FF91.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#639CFD
Deuteranopia (green-blind)
#5591F7
Tritanopia (blue-blind)
#3FA6B8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #798ff9;
/* rgb */ color: rgb(121, 143, 249);
/* oklch */ color: oklch(68.1% 0.158 272.7);
Tailwind
colors: {
  custom: {
    50: '#a7affc',
    500: '#798ff9',
    950: '#000000',
  },
}
SCSS
$custom: #798ff9;
$custom-light: #a7affc;
$custom-dark: #000000;
JSON
{
  "hex": "#798ff9",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 249
  },
  "hsl": {
    "h": 229.688,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68123,
    "c": 0.15778,
    "h": 272.7
  },
  "luminance": 0.30549
}

Semantic roles & 50–950 ramp

primary
#798FF9
secondary
#F6F0D5
accent
#BE00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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