#797DD0#797DD0

#797DD0 is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.3% C 0.124 H 280.0°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#797DD0
RGBrgb(121, 125, 208)
HSLhsl(237, 48%, 65%)
HSVhsv(237, 42%, 82%)
CMYKcmyk(41.8%, 39.9%, 0%, 18.4%)
CIE-LABlab(55.36, 19.45, -43.40)
CIE-LCHlch(55.36, 47.56, 294.14°)
OKLaboklab(62.26% 0.0217 -0.1223)
OKLCHoklch(62.26% 0.124 280)
XYZxyz(26.6006, 23.2851, 62.7552)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797DD0 #D0CC79
analogous
#79A9D0 #797DD0 #A079D0
triadic
#797DD0 #D0797D #7DD079
tetradic
#797DD0 #D079A9 #D0CC79 #79D0A0
square
#797DD0 #D079A9 #D0CC79 #79D0A0
split-complementary
#797DD0 #D0A079 #A9D079
monochromatic
#363A99 #4C51C0 #797DD0 #A6A9E0 #D4D5F0

Accessibility & contrast

On white

3.71
#797DD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#797DD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797DD0
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797DD0#FFFFFF#000000##000000
##797DD01.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6088D3
Deuteranopia (green-blind)
#5A82CE
Tritanopia (blue-blind)
#5E8E9C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #797dd0;
/* rgb */ color: rgb(121, 125, 208);
/* oklch */ color: oklch(62.3% 0.124 280.0);
Tailwind
colors: {
  custom: {
    50: '#a3a2df',
    500: '#797dd0',
    950: '#000000',
  },
}
SCSS
$custom: #797dd0;
$custom-light: #a3a2df;
$custom-dark: #000000;
JSON
{
  "hex": "#797dd0",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 208
  },
  "hsl": {
    "h": 237.241,
    "s": 48.066,
    "l": 64.51
  },
  "oklch": {
    "l": 0.62263,
    "c": 0.12418,
    "h": 280
  },
  "luminance": 0.23286
}

Semantic roles & 50–950 ramp

primary
#797DD0
secondary
#E1E0C3
accent
#B52ABB
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0F15
muted
#7F7E83

Preview Lab

Preview with #797DD0

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

Preview Lab → · Contrast checker → · Palette generator →

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