#798DDE#798DDE

#798DDE is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.2% C 0.123 H 272.2°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#798DDE
RGBrgb(121, 141, 222)
HSLhsl(228, 60%, 67%)
HSVhsv(228, 45%, 87%)
CMYKcmyk(45.5%, 36.5%, 0%, 12.9%)
CIE-LABlab(60.24, 14.05, -43.57)
CIE-LCHlch(60.24, 45.78, 287.87°)
OKLaboklab(66.23% 0.0046 -0.1227)
OKLCHoklch(66.23% 0.123 272.2)
XYZxyz(30.5907, 28.3869, 72.9604)
Luminance0.2839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DDE #DECA79
analogous
#79BFDE #798DDE #9879DE
triadic
#798DDE #DE798D #8DDE79
tetradic
#798DDE #DE79BF #DECA79 #79DE98
square
#798DDE #DE79BF #DECA79 #79DE98
split-complementary
#798DDE #DE9879 #BFDE79
monochromatic
#2C46B1 #4863D2 #798DDE #AAB7EA #DBE1F6

Accessibility & contrast

On white

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

On black

6.68
#798DDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DDE
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DDE#FFFFFF#000000##000000
##798DDE1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F96E1
Deuteranopia (green-blind)
#668DDC
Tritanopia (blue-blind)
#549EAB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #798dde;
/* rgb */ color: rgb(121, 141, 222);
/* oklch */ color: oklch(66.2% 0.123 272.2);
Tailwind
colors: {
  custom: {
    50: '#a4aee8',
    500: '#798dde',
    950: '#000000',
  },
}
SCSS
$custom: #798dde;
$custom-light: #a4aee8;
$custom-dark: #000000;
JSON
{
  "hex": "#798dde",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 222
  },
  "hsl": {
    "h": 228.119,
    "s": 60.479,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66229,
    "c": 0.12281,
    "h": 272.2
  },
  "luminance": 0.28389
}

Semantic roles & 50–950 ramp

primary
#798DDE
secondary
#E9E3C9
accent
#A61DC8
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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