#797DCE#797DCE

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

Color values

HEX#797DCE
RGBrgb(121, 125, 206)
HSLhsl(237, 46%, 64%)
HSVhsv(237, 41%, 81%)
CMYKcmyk(41.3%, 39.3%, 0%, 19.2%)
CIE-LABlab(55.26, 18.87, -42.42)
CIE-LCHlch(55.26, 46.43, 293.98°)
OKLaboklab(62.15% 0.0213 -0.1194)
OKLCHoklch(62.15% 0.121 280.1)
XYZxyz(26.3561, 23.1873, 61.4674)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797DCE #CECA79
analogous
#79A8CE #797DCE #A079CE
triadic
#797DCE #CE797D #7DCE79
tetradic
#797DCE #CE79A8 #CECA79 #79CEA0
square
#797DCE #CE79A8 #CECA79 #79CEA0
split-complementary
#797DCE #CEA079 #A8CE79
monochromatic
#373B96 #4C52BE #797DCE #A6A8DE #D3D4EF

Accessibility & contrast

On white

3.72
#797DCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##797DCE#FFFFFF#000000##000000
##797DCE1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6188D1
Deuteranopia (green-blind)
#5C81CC
Tritanopia (blue-blind)
#5F8D9C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #797dce;
/* rgb */ color: rgb(121, 125, 206);
/* oklch */ color: oklch(62.2% 0.121 280.1);
Tailwind
colors: {
  custom: {
    50: '#a3a2dd',
    500: '#797dce',
    950: '#000000',
  },
}
SCSS
$custom: #797dce;
$custom-light: #a3a2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#797dce",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 206
  },
  "hsl": {
    "h": 237.176,
    "s": 46.448,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62154,
    "c": 0.12132,
    "h": 280.1
  },
  "luminance": 0.23188
}

Semantic roles & 50–950 ramp

primary
#797DCE
secondary
#E0DFC3
accent
#B32CBA
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0F15
muted
#7F7E83

Preview Lab

Preview with #797DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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