#797FD0#797FD0

#797FD0 is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.7% C 0.121 H 279.1°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#797FD0
RGBrgb(121, 127, 208)
HSLhsl(236, 48%, 65%)
HSVhsv(236, 42%, 82%)
CMYKcmyk(41.8%, 38.9%, 0%, 18.4%)
CIE-LABlab(55.88, 18.26, -42.58)
CIE-LCHlch(55.88, 46.33, 293.21°)
OKLaboklab(62.66% 0.0191 -0.1199)
OKLCHoklch(62.66% 0.121 279.1)
XYZxyz(26.8563, 23.7966, 62.8404)
Luminance0.2380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797FD0 #D0CA79
analogous
#79ABD0 #797FD0 #9F79D0
triadic
#797FD0 #D0797F #7FD079
tetradic
#797FD0 #D079AB #D0CA79 #79D09F
square
#797FD0 #D079AB #D0CA79 #79D09F
split-complementary
#797FD0 #D09F79 #ABD079
monochromatic
#363C99 #4C54C0 #797FD0 #A6AAE0 #D4D6F0

Accessibility & contrast

On white

3.65
#797FD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#797FD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797FD0
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797FD0#FFFFFF#000000##000000
##797FD01.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6289D3
Deuteranopia (green-blind)
#5D83CE
Tritanopia (blue-blind)
#5E8F9D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #797fd0;
/* rgb */ color: rgb(121, 127, 208);
/* oklch */ color: oklch(62.7% 0.121 279.1);
Tailwind
colors: {
  custom: {
    50: '#a3a4df',
    500: '#797fd0',
    950: '#000000',
  },
}
SCSS
$custom: #797fd0;
$custom-light: #a3a4df;
$custom-dark: #000000;
JSON
{
  "hex": "#797fd0",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 208
  },
  "hsl": {
    "h": 235.862,
    "s": 48.066,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6266,
    "c": 0.12139,
    "h": 279.1
  },
  "luminance": 0.23798
}

Semantic roles & 50–950 ramp

primary
#797FD0
secondary
#E1DFC3
accent
#B12ABB
background
#FAFAFD
surface
#F4F3FB
border
#CECDD4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #797FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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