#797CDD#797CDD

#797CDD is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.8% C 0.144 H 280.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#797CDD
RGBrgb(121, 124, 221)
HSLhsl(238, 60%, 67%)
HSVhsv(238, 45%, 87%)
CMYKcmyk(45.2%, 43.9%, 0%, 13.3%)
CIE-LABlab(55.79, 23.83, -50.06)
CIE-LCHlch(55.79, 55.44, 295.45°)
OKLaboklab(62.8% 0.0252 -0.1417)
OKLCHoklch(62.8% 0.144 280.1)
XYZxyz(28.1400, 23.6993, 71.4843)
Luminance0.2370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797CDD #DDDA79
analogous
#79AEDD #797CDD #A879DD
triadic
#797CDD #DD797C #7CDD79
tetradic
#797CDD #DD79AE #DDDA79 #79DDA8
square
#797CDD #DD79AE #DDDA79 #79DDA8
split-complementary
#797CDD #DDA879 #AEDD79
monochromatic
#2C30AF #484CD1 #797CDD #AAACE9 #DBDBF6

Accessibility & contrast

On white

3.66
#797CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#797CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797CDD
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797CDD#FFFFFF#000000##000000
##797CDD1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5689E1
Deuteranopia (green-blind)
#4F82DB
Tritanopia (blue-blind)
#5790A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #797cdd;
/* rgb */ color: rgb(121, 124, 221);
/* oklch */ color: oklch(62.8% 0.144 280.1);
Tailwind
colors: {
  custom: {
    50: '#a5a1e8',
    500: '#797cdd',
    950: '#000000',
  },
}
SCSS
$custom: #797cdd;
$custom-light: #a5a1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#797cdd",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 221
  },
  "hsl": {
    "h": 238.2,
    "s": 59.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.62804,
    "c": 0.14395,
    "h": 280.1
  },
  "luminance": 0.23701
}

Semantic roles & 50–950 ramp

primary
#797CDD
secondary
#E9E8C9
accent
#C21EC7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F16
muted
#7F7E84

Preview Lab

Preview with #797CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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