#798EFF#798EFF

#798EFF is a light, vivid blue. Relative luminance 0.306; OKLCH L 68.3% C 0.167 H 273.3°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#798EFF
RGBrgb(121, 142, 255)
HSLhsl(231, 100%, 74%)
HSVhsv(231, 53%, 100%)
CMYKcmyk(52.5%, 44.3%, 0%, 0%)
CIE-LABlab(62.19, 23.39, -58.70)
CIE-LCHlch(62.19, 63.18, 291.73°)
OKLaboklab(68.28% 0.0095 -0.1669)
OKLCHoklch(68.28% 0.167 273.3)
XYZxyz(35.6023, 30.6286, 98.6242)
Luminance0.3063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EFF #FFEA79
analogous
#79D1FF #798EFF #A779FF
triadic
#798EFF #FF798E #8EFF79
tetradic
#798EFF #FF79D1 #FFEA79 #79FFA7
square
#798EFF #FF79D1 #FFEA79 #79FFA7
split-complementary
#798EFF #FFA779 #D1FF79
monochromatic
#0028FE #3C5AFF #798EFF #B6C2FF #E0E5FF

Accessibility & contrast

On white

2.95
#798EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#798EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #798EFF
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EFF#FFFFFF#000000##000000
##798EFF1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#4D91FD
Tritanopia (blue-blind)
#39A7BA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #798eff;
/* rgb */ color: rgb(121, 142, 255);
/* oklch */ color: oklch(68.3% 0.167 273.3);
Tailwind
colors: {
  custom: {
    50: '#a8aeff',
    500: '#798eff',
    950: '#000000',
  },
}
SCSS
$custom: #798eff;
$custom-light: #a8aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#798eff",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 230.597,
    "s": 100,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68281,
    "c": 0.1672,
    "h": 273.3
  },
  "luminance": 0.30631
}

Semantic roles & 50–950 ramp

primary
#798EFF
secondary
#F7F2D4
accent
#C200E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #798EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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