#798CDF#798CDF

#798CDF is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.1% C 0.125 H 272.8°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#798CDF
RGBrgb(121, 140, 223)
HSLhsl(229, 61%, 67%)
HSVhsv(229, 46%, 87%)
CMYKcmyk(45.7%, 37.2%, 0%, 12.5%)
CIE-LABlab(60.02, 14.93, -44.47)
CIE-LCHlch(60.02, 46.91, 288.56°)
OKLaboklab(66.08% 0.0061 -0.1253)
OKLCHoklch(66.08% 0.125 272.8)
XYZxyz(30.5784, 28.1471, 73.6194)
Luminance0.2815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CDF #DFCC79
analogous
#79BFDF #798CDF #9979DF
triadic
#798CDF #DF798C #8CDF79
tetradic
#798CDF #DF79BF #DFCC79 #79DF99
square
#798CDF #DF79BF #DFCC79 #79DF99
split-complementary
#798CDF #DF9979 #BFDF79
monochromatic
#2B44B3 #4862D3 #798CDF #AAB6EB #DCE1F7

Accessibility & contrast

On white

3.17
#798CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#798CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CDF
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CDF#FFFFFF#000000##000000
##798CDF1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D95E2
Deuteranopia (green-blind)
#648DDD
Tritanopia (blue-blind)
#549DAB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #798cdf;
/* rgb */ color: rgb(121, 140, 223);
/* oklch */ color: oklch(66.1% 0.125 272.8);
Tailwind
colors: {
  custom: {
    50: '#a4ade9',
    500: '#798cdf',
    950: '#000000',
  },
}
SCSS
$custom: #798cdf;
$custom-light: #a4ade9;
$custom-dark: #000000;
JSON
{
  "hex": "#798cdf",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 223
  },
  "hsl": {
    "h": 228.824,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66079,
    "c": 0.12548,
    "h": 272.8
  },
  "luminance": 0.28149
}

Semantic roles & 50–950 ramp

primary
#798CDF
secondary
#EAE4CA
accent
#A91CC9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #798CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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