#797CD3#797CD3

#797CD3 is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.2% C 0.130 H 280.4°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#797CD3
RGBrgb(121, 124, 211)
HSLhsl(238, 51%, 65%)
HSVhsv(238, 43%, 83%)
CMYKcmyk(42.7%, 41.2%, 0%, 17.3%)
CIE-LABlab(55.26, 20.91, -45.26)
CIE-LCHlch(55.26, 49.86, 294.80°)
OKLaboklab(62.23% 0.0235 -0.1277)
OKLCHoklch(62.23% 0.13 280.4)
XYZxyz(26.8472, 23.1822, 64.6754)
Luminance0.2318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797CD3 #D3D079
analogous
#79A9D3 #797CD3 #A379D3
triadic
#797CD3 #D3797C #7CD379
tetradic
#797CD3 #D379A9 #D3D079 #79D3A3
square
#797CD3 #D379A9 #D3D079 #79D3A3
split-complementary
#797CD3 #D3A379 #A9D379
monochromatic
#34379E #4B4FC4 #797CD3 #A7A9E2 #D5D6F1

Accessibility & contrast

On white

3.73
#797CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#797CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797CD3
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797CD3#FFFFFF#000000##000000
##797CD31.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C88D6
Deuteranopia (green-blind)
#5781D1
Tritanopia (blue-blind)
#5C8E9D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #797cd3;
/* rgb */ color: rgb(121, 124, 211);
/* oklch */ color: oklch(62.2% 0.130 280.4);
Tailwind
colors: {
  custom: {
    50: '#a4a1e1',
    500: '#797cd3',
    950: '#000000',
  },
}
SCSS
$custom: #797cd3;
$custom-light: #a4a1e1;
$custom-dark: #000000;
JSON
{
  "hex": "#797cd3",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 211
  },
  "hsl": {
    "h": 238,
    "s": 50.562,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62233,
    "c": 0.12985,
    "h": 280.4
  },
  "luminance": 0.23183
}

Semantic roles & 50–950 ramp

primary
#797CD3
secondary
#E3E2C5
accent
#B928BE
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0F15
muted
#7F7E83

Preview Lab

Preview with #797CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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