#797CE0#797CE0

#797CE0 is a light, vivid blue. Relative luminance 0.239; OKLCH L 63.0% C 0.148 H 279.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#797CE0
RGBrgb(121, 124, 224)
HSLhsl(238, 62%, 68%)
HSVhsv(238, 46%, 88%)
CMYKcmyk(46%, 44.6%, 0%, 12.2%)
CIE-LABlab(55.95, 24.71, -51.48)
CIE-LCHlch(55.95, 57.11, 295.64°)
OKLaboklab(62.98% 0.0256 -0.1459)
OKLCHoklch(62.98% 0.148 279.9)
XYZxyz(28.5433, 23.8606, 73.6081)
Luminance0.2386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797CE0 #E0DD79
analogous
#79B0E0 #797CE0 #A979E0
triadic
#797CE0 #E0797C #7CE079
tetradic
#797CE0 #E079B0 #E0DD79 #79E0A9
square
#797CE0 #E079B0 #E0DD79 #79E0A9
split-complementary
#797CE0 #E0A979 #B0E079
monochromatic
#2A2EB5 #474BD5 #797CE0 #ABADEB #DCDDF7

Accessibility & contrast

On white

3.64
#797CE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#797CE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797CE0
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797CE0#FFFFFF#000000##000000
##797CE01.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#548AE4
Deuteranopia (green-blind)
#4D82DE
Tritanopia (blue-blind)
#5591A3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #797ce0;
/* rgb */ color: rgb(121, 124, 224);
/* oklch */ color: oklch(63.0% 0.148 279.9);
Tailwind
colors: {
  custom: {
    50: '#a5a1ea',
    500: '#797ce0',
    950: '#000000',
  },
}
SCSS
$custom: #797ce0;
$custom-light: #a5a1ea;
$custom-dark: #000000;
JSON
{
  "hex": "#797ce0",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 224
  },
  "hsl": {
    "h": 238.252,
    "s": 62.424,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6298,
    "c": 0.14814,
    "h": 279.9
  },
  "luminance": 0.23862
}

Semantic roles & 50–950 ramp

primary
#797CE0
secondary
#EAE9CA
accent
#C51BCA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F16
muted
#7F7E84

Preview Lab

Preview with #797CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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