#798EE5#798EE5

#798EE5 is a light, vivid blue. Relative luminance 0.291; OKLCH L 66.8% C 0.131 H 272.2°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#798EE5
RGBrgb(121, 142, 229)
HSLhsl(228, 68%, 69%)
HSVhsv(228, 47%, 90%)
CMYKcmyk(47.2%, 38%, 0%, 10.2%)
CIE-LABlab(60.84, 15.53, -46.51)
CIE-LCHlch(60.84, 49.04, 288.46°)
OKLaboklab(66.81% 0.0049 -0.1313)
OKLCHoklch(66.81% 0.131 272.2)
XYZxyz(31.6966, 29.0662, 78.0537)
Luminance0.2907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EE5 #E5D079
analogous
#79C4E5 #798EE5 #9A79E5
triadic
#798EE5 #E5798E #8EE579
tetradic
#798EE5 #E579C4 #E5D079 #79E59A
square
#798EE5 #E579C4 #E5D079 #79E59A
split-complementary
#798EE5 #E59A79 #C4E579
monochromatic
#2543BF #4663DB #798EE5 #ACB9EF #E0E4F9

Accessibility & contrast

On white

3.08
#798EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#798EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EE5
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EE5#FFFFFF#000000##000000
##798EE51.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D98E8
Deuteranopia (green-blind)
#638FE3
Tritanopia (blue-blind)
#50A0AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #798ee5;
/* rgb */ color: rgb(121, 142, 229);
/* oklch */ color: oklch(66.8% 0.131 272.2);
Tailwind
colors: {
  custom: {
    50: '#a5aeed',
    500: '#798ee5',
    950: '#000000',
  },
}
SCSS
$custom: #798ee5;
$custom-light: #a5aeed;
$custom-dark: #000000;
JSON
{
  "hex": "#798ee5",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 229
  },
  "hsl": {
    "h": 228.333,
    "s": 67.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66805,
    "c": 0.13137,
    "h": 272.2
  },
  "luminance": 0.29068
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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