#798CE5#798CE5

#798CE5 is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.4% C 0.134 H 273.1°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#798CE5
RGBrgb(121, 140, 229)
HSLhsl(229, 68%, 69%)
HSVhsv(229, 47%, 90%)
CMYKcmyk(47.2%, 38.9%, 0%, 10.2%)
CIE-LABlab(60.32, 16.70, -47.34)
CIE-LCHlch(60.32, 50.20, 289.43°)
OKLaboklab(66.4% 0.0073 -0.1337)
OKLCHoklch(66.4% 0.134 273.1)
XYZxyz(31.4017, 28.4764, 77.9554)
Luminance0.2848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CE5 #E5D279
analogous
#79C2E5 #798CE5 #9C79E5
triadic
#798CE5 #E5798C #8CE579
tetradic
#798CE5 #E579C2 #E5D279 #79E59C
square
#798CE5 #E579C2 #E5D279 #79E59C
split-complementary
#798CE5 #E59C79 #C2E579
monochromatic
#2540BF #4660DB #798CE5 #ACB8EF #E0E4F9

Accessibility & contrast

On white

3.14
#798CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#798CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CE5
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CE5#FFFFFF#000000##000000
##798CE51.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A96E9
Deuteranopia (green-blind)
#608DE3
Tritanopia (blue-blind)
#509FAD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #798ce5;
/* rgb */ color: rgb(121, 140, 229);
/* oklch */ color: oklch(66.4% 0.134 273.1);
Tailwind
colors: {
  custom: {
    50: '#a5aded',
    500: '#798ce5',
    950: '#000000',
  },
}
SCSS
$custom: #798ce5;
$custom-light: #a5aded;
$custom-dark: #000000;
JSON
{
  "hex": "#798ce5",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 229
  },
  "hsl": {
    "h": 229.444,
    "s": 67.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66402,
    "c": 0.1339,
    "h": 273.1
  },
  "luminance": 0.28478
}

Semantic roles & 50–950 ramp

primary
#798CE5
secondary
#EDE7CD
accent
#AF16CF
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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