#798DFB#798DFB

#798DFB is a light, vivid blue. Relative luminance 0.301; OKLCH L 67.9% C 0.163 H 273.5°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#798DFB
RGBrgb(121, 141, 251)
HSLhsl(231, 94%, 73%)
HSVhsv(231, 52%, 98%)
CMYKcmyk(51.8%, 43.8%, 0%, 1.6%)
CIE-LABlab(61.72, 22.75, -57.26)
CIE-LCHlch(61.72, 61.61, 291.67°)
OKLaboklab(67.85% 0.01 -0.1627)
OKLCHoklch(67.85% 0.163 273.5)
XYZxyz(34.8170, 30.0774, 95.2189)
Luminance0.3008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DFB #FBE779
analogous
#79CEFB #798DFB #A679FB
triadic
#798DFB #FB798D #8DFB79
tetradic
#798DFB #FB79CE #FBE779 #79FBA6
square
#798DFB #FB79CE #FBE779 #79FBA6
split-complementary
#798DFB #FBA679 #CEFB79
monochromatic
#072BF2 #3E5AF9 #798DFB #B4C0FD #E1E6FE

Accessibility & contrast

On white

2.99
#798DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#798DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #798DFB
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DFB#FFFFFF#000000##000000
##798DFB1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#5090F9
Tritanopia (blue-blind)
#3DA5B8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #798dfb;
/* rgb */ color: rgb(121, 141, 251);
/* oklch */ color: oklch(67.9% 0.163 273.5);
Tailwind
colors: {
  custom: {
    50: '#a7aefd',
    500: '#798dfb',
    950: '#000000',
  },
}
SCSS
$custom: #798dfb;
$custom-light: #a7aefd;
$custom-dark: #000000;
JSON
{
  "hex": "#798dfb",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 251
  },
  "hsl": {
    "h": 230.769,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67851,
    "c": 0.16303,
    "h": 273.5
  },
  "luminance": 0.3008
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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