#798FF3#798FF3

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

Color values

HEX#798FF3
RGBrgb(121, 143, 243)
HSLhsl(229, 84%, 71%)
HSVhsv(229, 50%, 95%)
CMYKcmyk(50.2%, 41.2%, 0%, 4.7%)
CIE-LABlab(61.81, 19.14, -52.72)
CIE-LCHlch(61.81, 56.09, 289.95°)
OKLaboklab(67.78% 0.0065 -0.1494)
OKLCHoklch(67.78% 0.15 272.5)
XYZxyz(33.8801, 30.1788, 88.8164)
Luminance0.3018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FF3 #F3DD79
analogous
#79CCF3 #798FF3 #A079F3
triadic
#798FF3 #F3798F #8FF379
tetradic
#798FF3 #F379CC #F3DD79 #79F3A0
square
#798FF3 #F379CC #F3DD79 #79F3A0
split-complementary
#798FF3 #F3A079 #CCF379
monochromatic
#1438DE #4160EE #798FF3 #B1BEF8 #E3E8FC

Accessibility & contrast

On white

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

On black

7.04
#798FF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #798FF3
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FF3#FFFFFF#000000##000000
##798FF31.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF7
Deuteranopia (green-blind)
#5A90F1
Tritanopia (blue-blind)
#45A4B5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #798ff3;
/* rgb */ color: rgb(121, 143, 243);
/* oklch */ color: oklch(67.8% 0.150 272.5);
Tailwind
colors: {
  custom: {
    50: '#a6aff7',
    500: '#798ff3',
    950: '#000000',
  },
}
SCSS
$custom: #798ff3;
$custom-light: #a6aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#798ff3",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 243
  },
  "hsl": {
    "h": 229.18,
    "s": 83.562,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67779,
    "c": 0.14955,
    "h": 272.5
  },
  "luminance": 0.30181
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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