#798EF3#798EF3

#798EF3 is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.6% C 0.151 H 272.9°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#798EF3
RGBrgb(121, 142, 243)
HSLhsl(230, 84%, 71%)
HSVhsv(230, 50%, 95%)
CMYKcmyk(50.2%, 41.6%, 0%, 4.7%)
CIE-LABlab(61.55, 19.73, -53.13)
CIE-LCHlch(61.55, 56.67, 290.37°)
OKLaboklab(67.58% 0.0076 -0.1506)
OKLCHoklch(67.58% 0.151 272.9)
XYZxyz(33.7307, 29.8799, 88.7666)
Luminance0.2988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EF3 #F3DE79
analogous
#79CBF3 #798EF3 #A179F3
triadic
#798EF3 #F3798E #8EF379
tetradic
#798EF3 #F379CB #F3DE79 #79F3A1
square
#798EF3 #F379CB #F3DE79 #79F3A1
split-complementary
#798EF3 #F3A179 #CBF379
monochromatic
#1437DE #415FEE #798EF3 #B1BDF8 #E3E7FC

Accessibility & contrast

On white

3.01
#798EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#798EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EF3
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EF3#FFFFFF#000000##000000
##798EF31.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#659AF7
Deuteranopia (green-blind)
#5890F1
Tritanopia (blue-blind)
#45A4B5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #798ef3;
/* rgb */ color: rgb(121, 142, 243);
/* oklch */ color: oklch(67.6% 0.151 272.9);
Tailwind
colors: {
  custom: {
    50: '#a6aef7',
    500: '#798ef3',
    950: '#000000',
  },
}
SCSS
$custom: #798ef3;
$custom-light: #a6aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#798ef3",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 243
  },
  "hsl": {
    "h": 229.672,
    "s": 83.562,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67582,
    "c": 0.15081,
    "h": 272.9
  },
  "luminance": 0.29882
}

Semantic roles & 50–950 ramp

primary
#798EF3
secondary
#F4EED4
accent
#BA06E0
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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