#797CA2#797CA2

#797CA2 is a mid, muted blue. Relative luminance 0.211; OKLCH L 59.8% C 0.058 H 281.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#797CA2
RGBrgb(121, 124, 162)
HSLhsl(236, 18%, 55%)
HSVhsv(236, 25%, 64%)
CMYKcmyk(25.3%, 23.5%, 0%, 36.5%)
CIE-LABlab(53.05, 7.57, -20.65)
CIE-LCHlch(53.05, 22.00, 290.13°)
OKLaboklab(59.8% 0.011 -0.0568)
OKLCHoklch(59.8% 0.058 281)
XYZxyz(21.6127, 21.0884, 37.1072)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797CA2 #A29F79
analogous
#7990A2 #797CA2 #8A79A2
triadic
#797CA2 #A2797C #7CA279
tetradic
#797CA2 #A27990 #A29F79 #79A28A
square
#797CA2 #A27990 #A29F79 #79A28A
split-complementary
#797CA2 #A28A79 #90A279
monochromatic
#42445F #5B5E83 #797CA2 #9D9FBB #C1C3D4

Accessibility & contrast

On white

4.02
#797CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#797CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797CA2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797CA2#FFFFFF#000000##000000
##797CA21.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7280A4
Deuteranopia (green-blind)
#707DA1
Tritanopia (blue-blind)
#6F8389
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #797ca2;
/* rgb */ color: rgb(121, 124, 162);
/* oklch */ color: oklch(59.8% 0.058 281.0);
Tailwind
colors: {
  custom: {
    50: '#a0a1bd',
    500: '#797ca2',
    950: '#000000',
  },
}
SCSS
$custom: #797ca2;
$custom-light: #a0a1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#797ca2",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 162
  },
  "hsl": {
    "h": 235.61,
    "s": 18.062,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59802,
    "c": 0.05786,
    "h": 281
  },
  "luminance": 0.21089
}

Semantic roles & 50–950 ramp

primary
#797CA2
secondary
#C4C3B3
accent
#B56DBB
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0F0F12
muted
#7E7E81

Preview Lab

Preview with #797CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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