#797ABB#797ABB

#797ABB is a mid, moderate blue. Relative luminance 0.216; OKLCH L 60.6% C 0.098 H 282.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#797ABB
RGBrgb(121, 122, 187)
HSLhsl(239, 33%, 60%)
HSVhsv(239, 35%, 73%)
CMYKcmyk(35.3%, 34.8%, 0%, 26.7%)
CIE-LABlab(53.57, 15.34, -34.26)
CIE-LCHlch(53.57, 37.54, 294.11°)
OKLaboklab(60.56% 0.021 -0.0957)
OKLCHoklch(60.56% 0.098 282.4)
XYZxyz(23.8118, 21.5711, 49.9131)
Luminance0.2157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797ABB #BBBA79
analogous
#799BBB #797ABB #9979BB
triadic
#797ABB #BB797A #7ABB79
tetradic
#797ABB #BB799B #BBBA79 #79BB99
square
#797ABB #BB799B #BBBA79 #79BB99
split-complementary
#797ABB #BB9979 #9BBB79
monochromatic
#3E3F7B #5354A4 #797ABB #A2A2D0 #CACBE4

Accessibility & contrast

On white

3.95
#797ABB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#797ABB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797ABB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797ABB#FFFFFF#000000##000000
##797ABB1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6682BE
Deuteranopia (green-blind)
#637EB9
Tritanopia (blue-blind)
#678692
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #797abb;
/* rgb */ color: rgb(121, 122, 187);
/* oklch */ color: oklch(60.6% 0.098 282.4);
Tailwind
colors: {
  custom: {
    50: '#a2a0cf',
    500: '#797abb',
    950: '#000000',
  },
}
SCSS
$custom: #797abb;
$custom-light: #a2a0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#797abb",
  "rgb": {
    "r": 121,
    "g": 122,
    "b": 187
  },
  "hsl": {
    "h": 239.091,
    "s": 32.673,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60555,
    "c": 0.09803,
    "h": 282.4
  },
  "luminance": 0.21572
}

Semantic roles & 50–950 ramp

primary
#797ABB
secondary
#D5D4BB
accent
#AA3AAB
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #797ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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