#797FDD#797FDD

#797FDD is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.4% C 0.140 H 278.8°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#797FDD
RGBrgb(121, 127, 221)
HSLhsl(236, 60%, 67%)
HSVhsv(236, 45%, 87%)
CMYKcmyk(45.2%, 42.5%, 0%, 13.3%)
CIE-LABlab(56.55, 22.04, -48.85)
CIE-LCHlch(56.55, 53.59, 294.28°)
OKLaboklab(63.39% 0.0215 -0.1382)
OKLCHoklch(63.39% 0.14 278.8)
XYZxyz(28.5217, 24.4627, 71.6115)
Luminance0.2446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797FDD #DDD779
analogous
#79B1DD #797FDD #A579DD
triadic
#797FDD #DD797F #7FDD79
tetradic
#797FDD #DD79B1 #DDD779 #79DDA5
square
#797FDD #DD79B1 #DDD779 #79DDA5
split-complementary
#797FDD #DDA579 #B1DD79
monochromatic
#2C34AF #4850D1 #797FDD #AAAEE9 #DBDCF6

Accessibility & contrast

On white

3.56
#797FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#797FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797FDD
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797FDD#FFFFFF#000000##000000
##797FDD1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8CE1
Deuteranopia (green-blind)
#5484DB
Tritanopia (blue-blind)
#5792A3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #797fdd;
/* rgb */ color: rgb(121, 127, 221);
/* oklch */ color: oklch(63.4% 0.140 278.8);
Tailwind
colors: {
  custom: {
    50: '#a5a4e8',
    500: '#797fdd',
    950: '#000000',
  },
}
SCSS
$custom: #797fdd;
$custom-light: #a5a4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#797fdd",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 221
  },
  "hsl": {
    "h": 236.4,
    "s": 59.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.63385,
    "c": 0.13984,
    "h": 278.8
  },
  "luminance": 0.24464
}

Semantic roles & 50–950 ramp

primary
#797FDD
secondary
#E9E7C9
accent
#BD1EC7
background
#FAFAFE
surface
#F4F3FC
border
#CECDD5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #797FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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