#798FF4#798FF4

#798FF4 is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.8% C 0.151 H 272.5°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#798FF4
RGBrgb(121, 143, 244)
HSLhsl(229, 85%, 72%)
HSVhsv(229, 50%, 96%)
CMYKcmyk(50.4%, 41.4%, 0%, 4.3%)
CIE-LABlab(61.86, 19.44, -53.19)
CIE-LCHlch(61.86, 56.63, 290.08°)
OKLaboklab(67.84% 0.0067 -0.1508)
OKLCHoklch(67.84% 0.151 272.5)
XYZxyz(34.0315, 30.2393, 89.6139)
Luminance0.3024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FF4 #F4DE79
analogous
#79CDF4 #798FF4 #A179F4
triadic
#798FF4 #F4798F #8FF479
tetradic
#798FF4 #F479CD #F4DE79 #79F4A1
square
#798FF4 #F479CD #F4DE79 #79F4A1
split-complementary
#798FF4 #F4A179 #CDF479
monochromatic
#1237E0 #4060EF #798FF4 #B2BEF9 #E3E7FD

Accessibility & contrast

On white

2.98
#798FF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#798FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #798FF4
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FF4#FFFFFF#000000##000000
##798FF41.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#669BF8
Deuteranopia (green-blind)
#5991F2
Tritanopia (blue-blind)
#44A5B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #798ff4;
/* rgb */ color: rgb(121, 143, 244);
/* oklch */ color: oklch(67.8% 0.151 272.5);
Tailwind
colors: {
  custom: {
    50: '#a7aff8',
    500: '#798ff4',
    950: '#000000',
  },
}
SCSS
$custom: #798ff4;
$custom-light: #a7aff8;
$custom-dark: #000000;
JSON
{
  "hex": "#798ff4",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 244
  },
  "hsl": {
    "h": 229.268,
    "s": 84.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67836,
    "c": 0.15093,
    "h": 272.5
  },
  "luminance": 0.30242
}

Semantic roles & 50–950 ramp

primary
#798FF4
secondary
#F4EFD5
accent
#BA04E1
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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