#797CDA#797CDA

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

Color values

HEX#797CDA
RGBrgb(121, 124, 218)
HSLhsl(238, 57%, 66%)
HSVhsv(238, 44%, 85%)
CMYKcmyk(44.5%, 43.1%, 0%, 14.5%)
CIE-LABlab(55.63, 22.95, -48.63)
CIE-LCHlch(55.63, 53.77, 295.26°)
OKLaboklab(62.63% 0.0247 -0.1375)
OKLCHoklch(62.63% 0.14 280.2)
XYZxyz(27.7439, 23.5409, 69.3981)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797CDA #DAD779
analogous
#79ADDA #797CDA #A779DA
triadic
#797CDA #DA797C #7CDA79
tetradic
#797CDA #DA79AD #DAD779 #79DAA7
square
#797CDA #DA79AD #DAD779 #79DAA7
split-complementary
#797CDA #DAA779 #ADDA79
monochromatic
#2F33AA #494DCD #797CDA #A9ABE7 #D9DAF4

Accessibility & contrast

On white

3.68
#797CDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#797CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797CDA
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797CDA#FFFFFF#000000##000000
##797CDA1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5889DE
Deuteranopia (green-blind)
#5282D8
Tritanopia (blue-blind)
#598FA0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #797cda;
/* rgb */ color: rgb(121, 124, 218);
/* oklch */ color: oklch(62.6% 0.140 280.2);
Tailwind
colors: {
  custom: {
    50: '#a4a1e6',
    500: '#797cda',
    950: '#000000',
  },
}
SCSS
$custom: #797cda;
$custom-light: #a4a1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#797cda",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 218
  },
  "hsl": {
    "h": 238.144,
    "s": 56.725,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6263,
    "c": 0.13975,
    "h": 280.2
  },
  "luminance": 0.23542
}

Semantic roles & 50–950 ramp

primary
#797CDA
secondary
#E7E6C8
accent
#BF21C4
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100F16
muted
#7F7E84

Preview Lab

Preview with #797CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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