#797BDD#797BDD

#797BDD is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.6% C 0.145 H 280.5°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#797BDD
RGBrgb(121, 123, 221)
HSLhsl(239, 60%, 67%)
HSVhsv(239, 45%, 87%)
CMYKcmyk(45.2%, 44.3%, 0%, 13.3%)
CIE-LABlab(55.53, 24.42, -50.46)
CIE-LCHlch(55.53, 56.06, 295.83°)
OKLaboklab(62.61% 0.0264 -0.1429)
OKLCHoklch(62.61% 0.145 280.5)
XYZxyz(28.0153, 23.4500, 71.4427)
Luminance0.2345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797BDD #DDDB79
analogous
#79ADDD #797BDD #A979DD
triadic
#797BDD #DD797B #7BDD79
tetradic
#797BDD #DD79AD #DDDB79 #79DDA9
square
#797BDD #DD79AD #DDDB79 #79DDA9
split-complementary
#797BDD #DDA979 #ADDD79
monochromatic
#2C2FAF #484BD1 #797BDD #AAABE9 #DBDBF6

Accessibility & contrast

On white

3.69
#797BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#797BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797BDD
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797BDD#FFFFFF#000000##000000
##797BDD1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5489E1
Deuteranopia (green-blind)
#4E81DB
Tritanopia (blue-blind)
#578FA1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #797bdd;
/* rgb */ color: rgb(121, 123, 221);
/* oklch */ color: oklch(62.6% 0.145 280.5);
Tailwind
colors: {
  custom: {
    50: '#a5a1e8',
    500: '#797bdd',
    950: '#000000',
  },
}
SCSS
$custom: #797bdd;
$custom-light: #a5a1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#797bdd",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 221
  },
  "hsl": {
    "h": 238.8,
    "s": 59.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.62612,
    "c": 0.14533,
    "h": 280.5
  },
  "luminance": 0.23451
}

Semantic roles & 50–950 ramp

primary
#797BDD
secondary
#E9E8C9
accent
#C41EC7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #797BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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