#798EEA#798EEA

#798EEA is a light, vivid blue. Relative luminance 0.294; OKLCH L 67.1% C 0.138 H 272.5°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#798EEA
RGBrgb(121, 142, 234)
HSLhsl(229, 73%, 70%)
HSVhsv(229, 48%, 92%)
CMYKcmyk(48.3%, 39.3%, 0%, 8.2%)
CIE-LABlab(61.09, 17.02, -48.89)
CIE-LCHlch(61.09, 51.77, 289.19°)
OKLaboklab(67.08% 0.006 -0.1382)
OKLCHoklch(67.08% 0.138 272.5)
XYZxyz(32.4047, 29.3495, 81.7835)
Luminance0.2935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EEA #EAD579
analogous
#79C6EA #798EEA #9D79EA
triadic
#798EEA #EA798E #8EEA79
tetradic
#798EEA #EA79C6 #EAD579 #79EA9D
square
#798EEA #EA79C6 #EAD579 #79EA9D
split-complementary
#798EEA #EA9D79 #C6EA79
monochromatic
#203FC9 #4461E2 #798EEA #AEBBF2 #E3E7FB

Accessibility & contrast

On white

3.06
#798EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#798EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EEA
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EEA#FFFFFF#000000##000000
##798EEA1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A98EE
Deuteranopia (green-blind)
#5F8FE8
Tritanopia (blue-blind)
#4CA1B1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #798eea;
/* rgb */ color: rgb(121, 142, 234);
/* oklch */ color: oklch(67.1% 0.138 272.5);
Tailwind
colors: {
  custom: {
    50: '#a5aef1',
    500: '#798eea',
    950: '#000000',
  },
}
SCSS
$custom: #798eea;
$custom-light: #a5aef1;
$custom-dark: #000000;
JSON
{
  "hex": "#798eea",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 234
  },
  "hsl": {
    "h": 228.85,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67077,
    "c": 0.13835,
    "h": 272.5
  },
  "luminance": 0.29351
}

Semantic roles & 50–950 ramp

primary
#798EEA
secondary
#F0EACF
accent
#B011D5
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #798EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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