#797ABD#797ABD

#797ABD is a mid, moderate blue. Relative luminance 0.217; OKLCH L 60.7% C 0.101 H 282.3°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#797ABD
RGBrgb(121, 122, 189)
HSLhsl(239, 34%, 61%)
HSVhsv(239, 36%, 74%)
CMYKcmyk(36%, 35.4%, 0%, 25.9%)
CIE-LABlab(53.66, 15.88, -35.27)
CIE-LCHlch(53.66, 38.68, 294.25°)
OKLaboklab(60.66% 0.0215 -0.0986)
OKLCHoklch(60.66% 0.101 282.3)
XYZxyz(24.0274, 21.6573, 51.0486)
Luminance0.2166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797ABD #BDBC79
analogous
#799CBD #797ABD #9A79BD
triadic
#797ABD #BD797A #7ABD79
tetradic
#797ABD #BD799C #BDBC79 #79BD9A
square
#797ABD #BD799C #BDBC79 #79BD9A
split-complementary
#797ABD #BD9A79 #9CBD79
monochromatic
#3E3F7E #5253A7 #797ABD #A2A3D1 #CBCBE5

Accessibility & contrast

On white

3.94
#797ABD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#797ABD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797ABD
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797ABD#FFFFFF#000000##000000
##797ABD1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6583C0
Deuteranopia (green-blind)
#627EBB
Tritanopia (blue-blind)
#668793
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #797abd;
/* rgb */ color: rgb(121, 122, 189);
/* oklch */ color: oklch(60.7% 0.101 282.3);
Tailwind
colors: {
  custom: {
    50: '#a2a0d1',
    500: '#797abd',
    950: '#000000',
  },
}
SCSS
$custom: #797abd;
$custom-light: #a2a0d1;
$custom-dark: #000000;
JSON
{
  "hex": "#797abd",
  "rgb": {
    "r": 121,
    "g": 122,
    "b": 189
  },
  "hsl": {
    "h": 239.118,
    "s": 34,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60657,
    "c": 0.10097,
    "h": 282.3
  },
  "luminance": 0.21658
}

Semantic roles & 50–950 ramp

primary
#797ABD
secondary
#D6D5BC
accent
#AB39AD
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #797ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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