#797CD0#797CD0

#797CD0 is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.1% C 0.126 H 280.5°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#797CD0
RGBrgb(121, 124, 208)
HSLhsl(238, 48%, 65%)
HSVhsv(238, 42%, 82%)
CMYKcmyk(41.8%, 40.4%, 0%, 18.4%)
CIE-LABlab(55.11, 20.04, -43.81)
CIE-LCHlch(55.11, 48.17, 294.59°)
OKLaboklab(62.07% 0.0229 -0.1235)
OKLCHoklch(62.07% 0.126 280.5)
XYZxyz(26.4746, 23.0332, 62.7132)
Luminance0.2303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797CD0 #D0CD79
analogous
#79A8D0 #797CD0 #A279D0
triadic
#797CD0 #D0797C #7CD079
tetradic
#797CD0 #D079A8 #D0CD79 #79D0A2
square
#797CD0 #D079A8 #D0CD79 #79D0A2
split-complementary
#797CD0 #D0A279 #A8D079
monochromatic
#363999 #4C50C0 #797CD0 #A6A8E0 #D4D5F0

Accessibility & contrast

On white

3.75
#797CD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#797CD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797CD0
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797CD0#FFFFFF#000000##000000
##797CD01.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E87D3
Deuteranopia (green-blind)
#5981CE
Tritanopia (blue-blind)
#5E8D9C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #797cd0;
/* rgb */ color: rgb(121, 124, 208);
/* oklch */ color: oklch(62.1% 0.126 280.5);
Tailwind
colors: {
  custom: {
    50: '#a3a1df',
    500: '#797cd0',
    950: '#000000',
  },
}
SCSS
$custom: #797cd0;
$custom-light: #a3a1df;
$custom-dark: #000000;
JSON
{
  "hex": "#797cd0",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 208
  },
  "hsl": {
    "h": 237.931,
    "s": 48.066,
    "l": 64.51
  },
  "oklch": {
    "l": 0.62066,
    "c": 0.12558,
    "h": 280.5
  },
  "luminance": 0.23034
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #797CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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