#798DE5#798DE5

#798DE5 is a light, vivid blue. Relative luminance 0.288; OKLCH L 66.6% C 0.133 H 272.6°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#798DE5
RGBrgb(121, 141, 229)
HSLhsl(229, 68%, 69%)
HSVhsv(229, 47%, 90%)
CMYKcmyk(47.2%, 38.4%, 0%, 10.2%)
CIE-LABlab(60.58, 16.11, -46.93)
CIE-LCHlch(60.58, 49.62, 288.95°)
OKLaboklab(66.6% 0.0061 -0.1325)
OKLCHoklch(66.6% 0.133 272.6)
XYZxyz(31.5484, 28.7700, 78.0043)
Luminance0.2877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DE5 #E5D179
analogous
#79C3E5 #798DE5 #9B79E5
triadic
#798DE5 #E5798D #8DE579
tetradic
#798DE5 #E579C3 #E5D179 #79E59B
square
#798DE5 #E579C3 #E5D179 #79E59B
split-complementary
#798DE5 #E59B79 #C3E579
monochromatic
#2541BF #4661DB #798DE5 #ACB9EF #E0E4F9

Accessibility & contrast

On white

3.11
#798DE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#798DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DE5
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DE5#FFFFFF#000000##000000
##798DE51.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C97E8
Deuteranopia (green-blind)
#628EE3
Tritanopia (blue-blind)
#509FAE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #798de5;
/* rgb */ color: rgb(121, 141, 229);
/* oklch */ color: oklch(66.6% 0.133 272.6);
Tailwind
colors: {
  custom: {
    50: '#a5aeed',
    500: '#798de5',
    950: '#000000',
  },
}
SCSS
$custom: #798de5;
$custom-light: #a5aeed;
$custom-dark: #000000;
JSON
{
  "hex": "#798de5",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 229
  },
  "hsl": {
    "h": 228.889,
    "s": 67.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66603,
    "c": 0.13263,
    "h": 272.6
  },
  "luminance": 0.28772
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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