#797ED0#797ED0

#797ED0 is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.5% C 0.123 H 279.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#797ED0
RGBrgb(121, 126, 208)
HSLhsl(237, 48%, 65%)
HSVhsv(237, 42%, 82%)
CMYKcmyk(41.8%, 39.4%, 0%, 18.4%)
CIE-LABlab(55.62, 18.85, -42.99)
CIE-LCHlch(55.62, 46.94, 293.68°)
OKLaboklab(62.46% 0.0204 -0.1211)
OKLCHoklch(62.46% 0.123 279.6)
XYZxyz(26.7278, 23.5395, 62.7976)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797ED0 #D0CB79
analogous
#79AAD0 #797ED0 #A079D0
triadic
#797ED0 #D0797E #7ED079
tetradic
#797ED0 #D079AA #D0CB79 #79D0A0
square
#797ED0 #D079AA #D0CB79 #79D0A0
split-complementary
#797ED0 #D0A079 #AAD079
monochromatic
#363B99 #4C52C0 #797ED0 #A6AAE0 #D4D5F0

Accessibility & contrast

On white

3.68
#797ED0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#797ED0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797ED0
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797ED0#FFFFFF#000000##000000
##797ED01.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6189D3
Deuteranopia (green-blind)
#5C82CE
Tritanopia (blue-blind)
#5E8E9D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #797ed0;
/* rgb */ color: rgb(121, 126, 208);
/* oklch */ color: oklch(62.5% 0.123 279.6);
Tailwind
colors: {
  custom: {
    50: '#a3a3df',
    500: '#797ed0',
    950: '#000000',
  },
}
SCSS
$custom: #797ed0;
$custom-light: #a3a3df;
$custom-dark: #000000;
JSON
{
  "hex": "#797ed0",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 208
  },
  "hsl": {
    "h": 236.552,
    "s": 48.066,
    "l": 64.51
  },
  "oklch": {
    "l": 0.62461,
    "c": 0.12278,
    "h": 279.6
  },
  "luminance": 0.23541
}

Semantic roles & 50–950 ramp

primary
#797ED0
secondary
#E1E0C3
accent
#B32ABB
background
#FAFAFD
surface
#F4F3FB
border
#CECDD4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #797ED0

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

Preview Lab → · Contrast checker → · Palette generator →

#797ED0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva