#798DF3#798DF3

#798DF3 is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.4% C 0.152 H 273.3°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#798DF3
RGBrgb(121, 141, 243)
HSLhsl(230, 84%, 71%)
HSVhsv(230, 50%, 95%)
CMYKcmyk(50.2%, 42%, 0%, 4.7%)
CIE-LABlab(61.29, 20.32, -53.54)
CIE-LCHlch(61.29, 57.26, 290.78°)
OKLaboklab(67.38% 0.0088 -0.1518)
OKLCHoklch(67.38% 0.152 273.3)
XYZxyz(33.5825, 29.5836, 88.7173)
Luminance0.2959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DF3 #F3DF79
analogous
#79CAF3 #798DF3 #A279F3
triadic
#798DF3 #F3798D #8DF379
tetradic
#798DF3 #F379CA #F3DF79 #79F3A2
square
#798DF3 #F379CA #F3DF79 #79F3A2
split-complementary
#798DF3 #F3A279 #CAF379
monochromatic
#1435DE #415DEE #798DF3 #B1BDF8 #E3E7FC

Accessibility & contrast

On white

3.04
#798DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#798DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DF3
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DF3#FFFFFF#000000##000000
##798DF31.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6399F7
Deuteranopia (green-blind)
#578FF1
Tritanopia (blue-blind)
#45A3B4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #798df3;
/* rgb */ color: rgb(121, 141, 243);
/* oklch */ color: oklch(67.4% 0.152 273.3);
Tailwind
colors: {
  custom: {
    50: '#a6aef7',
    500: '#798df3',
    950: '#000000',
  },
}
SCSS
$custom: #798df3;
$custom-light: #a6aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#798df3",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 243
  },
  "hsl": {
    "h": 230.164,
    "s": 83.562,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67385,
    "c": 0.15207,
    "h": 273.3
  },
  "luminance": 0.29586
}

Semantic roles & 50–950 ramp

primary
#798DF3
secondary
#F4EFD4
accent
#BC06E0
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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