#798DE4#798DE4

#798DE4 is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.5% C 0.131 H 272.6°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#798DE4
RGBrgb(121, 141, 228)
HSLhsl(229, 66%, 68%)
HSVhsv(229, 47%, 89%)
CMYKcmyk(46.9%, 38.2%, 0%, 10.6%)
CIE-LABlab(60.53, 15.82, -46.45)
CIE-LCHlch(60.53, 49.07, 288.80°)
OKLaboklab(66.55% 0.0059 -0.1311)
OKLCHoklch(66.55% 0.131 272.6)
XYZxyz(31.4092, 28.7143, 77.2711)
Luminance0.2872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DE4 #E4D079
analogous
#79C2E4 #798DE4 #9A79E4
triadic
#798DE4 #E4798D #8DE479
tetradic
#798DE4 #E479C2 #E4D079 #79E49A
square
#798DE4 #E479C2 #E4D079 #79E49A
split-complementary
#798DE4 #E49A79 #C2E479
monochromatic
#2642BD #4662DA #798DE4 #ACB8EE #DFE4F9

Accessibility & contrast

On white

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

On black

6.74
#798DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DE4
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DE4#FFFFFF#000000##000000
##798DE41.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #798de4;
/* rgb */ color: rgb(121, 141, 228);
/* oklch */ color: oklch(66.5% 0.131 272.6);
Tailwind
colors: {
  custom: {
    50: '#a5aeed',
    500: '#798de4',
    950: '#000000',
  },
}
SCSS
$custom: #798de4;
$custom-light: #a5aeed;
$custom-dark: #000000;
JSON
{
  "hex": "#798de4",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 228
  },
  "hsl": {
    "h": 228.785,
    "s": 66.46,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66549,
    "c": 0.13123,
    "h": 272.6
  },
  "luminance": 0.28716
}

Semantic roles & 50–950 ramp

primary
#798DE4
secondary
#ECE6CC
accent
#AC17CE
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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