#798DDD#798DDD

#798DDD is a light, vivid blue. Relative luminance 0.283; OKLCH L 66.2% C 0.121 H 272.1°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#798DDD
RGBrgb(121, 141, 221)
HSLhsl(228, 60%, 67%)
HSVhsv(228, 45%, 87%)
CMYKcmyk(45.2%, 36.2%, 0%, 13.3%)
CIE-LABlab(60.19, 13.75, -43.09)
CIE-LCHlch(60.19, 45.23, 287.70°)
OKLaboklab(66.18% 0.0044 -0.1213)
OKLCHoklch(66.18% 0.121 272.1)
XYZxyz(30.4571, 28.3335, 72.2566)
Luminance0.2833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DDD #DDC979
analogous
#79BFDD #798DDD #9779DD
triadic
#798DDD #DD798D #8DDD79
tetradic
#798DDD #DD79BF #DDC979 #79DD97
square
#798DDD #DD79BF #DDC979 #79DD97
split-complementary
#798DDD #DD9779 #BFDD79
monochromatic
#2C47AF #4863D1 #798DDD #AAB7E9 #DBE0F6

Accessibility & contrast

On white

3.15
#798DDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#798DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DDD
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DDD#FFFFFF#000000##000000
##798DDD1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7096E0
Deuteranopia (green-blind)
#678DDB
Tritanopia (blue-blind)
#559EAB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #798ddd;
/* rgb */ color: rgb(121, 141, 221);
/* oklch */ color: oklch(66.2% 0.121 272.1);
Tailwind
colors: {
  custom: {
    50: '#a4aee8',
    500: '#798ddd',
    950: '#000000',
  },
}
SCSS
$custom: #798ddd;
$custom-light: #a4aee8;
$custom-dark: #000000;
JSON
{
  "hex": "#798ddd",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 221
  },
  "hsl": {
    "h": 228,
    "s": 59.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66176,
    "c": 0.12139,
    "h": 272.1
  },
  "luminance": 0.28335
}

Semantic roles & 50–950 ramp

primary
#798DDD
secondary
#E9E2C9
accent
#A51EC7
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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