#798FF0#798FF0

#798FF0 is a light, vivid blue. Relative luminance 0.300; OKLCH L 67.6% C 0.145 H 272.3°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#798FF0
RGBrgb(121, 143, 240)
HSLhsl(229, 80%, 71%)
HSVhsv(229, 50%, 94%)
CMYKcmyk(49.6%, 40.4%, 0%, 5.9%)
CIE-LABlab(61.65, 18.23, -51.31)
CIE-LCHlch(61.65, 54.45, 289.56°)
OKLaboklab(67.61% 0.0059 -0.1453)
OKLCHoklch(67.61% 0.145 272.3)
XYZxyz(33.4308, 29.9990, 86.4500)
Luminance0.3000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FF0 #F0DA79
analogous
#79CAF0 #798FF0 #9E79F0
triadic
#798FF0 #F0798F #8FF079
tetradic
#798FF0 #F079CA #F0DA79 #79F09E
square
#798FF0 #F079CA #F0DA79 #79F09E
split-complementary
#798FF0 #F09E79 #CAF079
monochromatic
#183BD7 #4261EA #798FF0 #B0BDF6 #E3E8FC

Accessibility & contrast

On white

3.00
#798FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#798FF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #798FF0
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FF0#FFFFFF#000000##000000
##798FF01.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#689AF4
Deuteranopia (green-blind)
#5C90EE
Tritanopia (blue-blind)
#47A4B4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #798ff0;
/* rgb */ color: rgb(121, 143, 240);
/* oklch */ color: oklch(67.6% 0.145 272.3);
Tailwind
colors: {
  custom: {
    50: '#a6aff5',
    500: '#798ff0',
    950: '#000000',
  },
}
SCSS
$custom: #798ff0;
$custom-light: #a6aff5;
$custom-dark: #000000;
JSON
{
  "hex": "#798ff0",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 240
  },
  "hsl": {
    "h": 228.908,
    "s": 79.866,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6761,
    "c": 0.14541,
    "h": 272.3
  },
  "luminance": 0.30001
}

Semantic roles & 50–950 ramp

primary
#798FF0
secondary
#F2ECD2
accent
#B509DC
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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