#798FFB#798FFB

#798FFB is a light, vivid blue. Relative luminance 0.307; OKLCH L 68.2% C 0.161 H 272.8°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#798FFB
RGBrgb(121, 143, 251)
HSLhsl(230, 94%, 73%)
HSVhsv(230, 52%, 98%)
CMYKcmyk(51.8%, 43%, 0%, 1.6%)
CIE-LABlab(62.23, 21.57, -56.44)
CIE-LCHlch(62.23, 60.43, 290.92°)
OKLaboklab(68.24% 0.0078 -0.1603)
OKLCHoklch(68.24% 0.161 272.8)
XYZxyz(35.1146, 30.6726, 95.3181)
Luminance0.3068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FFB #FBE579
analogous
#79D0FB #798FFB #A479FB
triadic
#798FFB #FB798F #8FFB79
tetradic
#798FFB #FB79D0 #FBE579 #79FBA4
square
#798FFB #FB79D0 #FBE579 #79FBA4
split-complementary
#798FFB #FBA479 #D0FB79
monochromatic
#072FF2 #3E5DF9 #798FFB #B4C1FD #E1E6FE

Accessibility & contrast

On white

2.94
#798FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#798FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #798FFB
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FFB#FFFFFF#000000##000000
##798FFB1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFF
Deuteranopia (green-blind)
#5391F9
Tritanopia (blue-blind)
#3DA6B9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #798ffb;
/* rgb */ color: rgb(121, 143, 251);
/* oklch */ color: oklch(68.2% 0.161 272.8);
Tailwind
colors: {
  custom: {
    50: '#a7affd',
    500: '#798ffb',
    950: '#000000',
  },
}
SCSS
$custom: #798ffb;
$custom-light: #a7affd;
$custom-dark: #000000;
JSON
{
  "hex": "#798ffb",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 251
  },
  "hsl": {
    "h": 229.846,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68239,
    "c": 0.16051,
    "h": 272.8
  },
  "luminance": 0.30675
}

Semantic roles & 50–950 ramp

primary
#798FFB
secondary
#F6F1D5
accent
#BF00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #798FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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