#797FC9#797FC9

#797FC9 is a light, moderate blue. Relative luminance 0.235; OKLCH L 62.3% C 0.111 H 279.1°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#797FC9
RGBrgb(121, 127, 201)
HSLhsl(236, 43%, 63%)
HSVhsv(236, 40%, 79%)
CMYKcmyk(39.8%, 36.8%, 0%, 21.2%)
CIE-LABlab(55.54, 16.26, -39.15)
CIE-LCHlch(55.54, 42.39, 292.55°)
OKLaboklab(62.29% 0.0176 -0.1099)
OKLCHoklch(62.29% 0.111 279.1)
XYZxyz(26.0141, 23.4597, 58.4045)
Luminance0.2346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797FC9 #C9C379
analogous
#79A7C9 #797FC9 #9B79C9
triadic
#797FC9 #C9797F #7FC979
tetradic
#797FC9 #C979A7 #C9C379 #79C99B
square
#797FC9 #C979A7 #C9C379 #79C99B
split-complementary
#797FC9 #C99B79 #A7C979
monochromatic
#39408E #4D55B7 #797FC9 #A5A9DB #D0D2EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##797FC9#FFFFFF#000000##000000
##797FC91.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)
#6688CC
Deuteranopia (green-blind)
#6182C7
Tritanopia (blue-blind)
#618E9A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #797fc9;
/* rgb */ color: rgb(121, 127, 201);
/* oklch */ color: oklch(62.3% 0.111 279.1);
Tailwind
colors: {
  custom: {
    50: '#a3a4da',
    500: '#797fc9',
    950: '#000000',
  },
}
SCSS
$custom: #797fc9;
$custom-light: #a3a4da;
$custom-dark: #000000;
JSON
{
  "hex": "#797fc9",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 201
  },
  "hsl": {
    "h": 235.5,
    "s": 42.553,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62287,
    "c": 0.11131,
    "h": 279.1
  },
  "luminance": 0.23461
}

Semantic roles & 50–950 ramp

primary
#797FC9
secondary
#DDDBC1
accent
#AC30B6
background
#FAFAFD
surface
#F4F3FA
border
#CECDD3
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #797FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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